Hi,
I'm very new to Java.
I just downloaded jdk1.3.1_01 from SUN and tried to compile the "Hello world" kind of program using dos prompt:
Code:
class HelloWorld
{
public static void main(String[] arguments)
{
System.out.println("Work damn it!");
}
}
I saved the above program in the same folder as my java & javac executables. I compiled with the following:
Code:
javac HelloWorld.java
As expected that produced file HelloWorld.class. So far so good.
When I tried to run the program with:
I'm getting the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld