Monday, May 24, 2010

UBUNTU: ./ 357: not found


error: ./ 357: not found
Solution: Set the path for JAVA_HOME and JRE_HOME.

First, check java version. Command line: java -version
You will get this: java version "1.6.0_20"
In case java version not equal to the value as in this example, please replace
that according to your java version.

sudo vi

Press key Insert
Just add these two lines.


Then press key Esc

Note: :wq! is to quit and save.