When I try to run a simple Hello World program using I keep getting a message saying Could not find the main class. I found this thread: http://ubuntuforums.org/showthread.php?t=1163850 but it was no use. Any ideas? In the thread it says that my CLASSPATH variable is messed up. Does anybody know a fix or a workaround? Thank You.
When the code looks like:
you need to run
If you're using packages, e.g.:
then you need to save it to