Hi, trying to install Spark on Ubuntu Dapper Drake.
First trying to run ./Spark just complains about a /lib/windows directory not existing (I don''t think this is important) but does nothing.
So I upgraded to jre1.5, and still does nothing, but I get a clue from the error log that I need to install something to do with awt, whatever that is. So I installed libgcj7-awt.
Now when running Spark I get a dialogbox saying java.lang.NullPointerException and then it quits.
I installed the Sun JRE 1.5
Interestingly though running:
java -version still tells me:
java version "1.4.2"
gij (GNU libgcj) version 4.1.0 (Ubuntu 4.1.0-1ubuntu6)
Don''t really know what I''m doing now.
ok, I think you''ll need to set JAVA_HOME variable pointing to your Sun JRE Installation path like this:
export JAVA_HOME=/usr/j2re1.5.0_06/ depending on your installation.
After that, you can try to update PATH variable like this:
after this actions you should get Sun JRE in java -version and Spark should work.