Note - I am an absolute Java beginner using Head First Java.
I installed the 1.5.0 JDK and assigned the relevant path environment variables.
I then created a simple Hello World .java code file (cutting the code from the JavaRanch beginners page). This file compiled sucessfully using the javac utility.
However when I come to run the "program" from the command line (i.e. java HelloWorld) an error message is returned:
Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld
I assume there is some configuration issue. Can anyone assist so that I can get up and running.
Thank you in advance.