Some step to verifying your Java setup
Is your JAVA_HOME environment variable correct
Echo the variable to see it
$ echo $JAVA_HOME /home/brad/tools/jdk1.5.0_14
Does it look right?
Check that it points to a valid directory.
$ cd $JAVA_HOME
Brad@BRAD-THINKPAD ~/tools/jdk1.5.0_14
Does your path have the $JAVA_HOME/bin directory in it?
Also, make sure it is near the front so you don't get some other version.
$ java -version java version "1.5.0_14" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03) Java HotSpot(TM) Client VM (build 1.5.0_14-b03, mixed mode, sharing)
