I’m trying to get the java SDK working on Mandrake 10. I get the following errors:
[andrew@localhost java]$ java HelloWorld.class
Exception in thread “main” java.lang.NoClassDefFoundError: HelloWorld/class
echo $CLASSPATH returns nothing.
I looked around and it seems there were several ways to set your classpath but each way was a little diffrent and involved editing /etc/profile or $HOME/.bashrc (even /.bash_profile in some cases)
What exactly needs to be done?
