Hey guys. Sorry for the stupid question, but I can't seem to find the answer anywhere.
Every time I try to run a java program, I get the following error:
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
Looks like java can't find the built in libraries. I know I have to point the $CLASSPATH variable to something, I just don't know what. I've tried "." (current directory) and a few I thought might work in my jre directory, but nada.
Java Home (this is correct) :
Can anyone tell me where I should point $CLASSPATH to make java run?Code:conor@conor-lt:~/Desktop$ echo $JAVA_HOME /usr/java/jre1.5.0_02
Thanks.


Reply With Quote
Bookmarks