Originally posted by Erik Dark:
First you write your source code (.java), which is compiled (c:\javac HelloWorld.java) to byte code (.class).
Then, to launch your program, you must run it in a JVM. This is accomplished by invoking the Java interpreter (c:\java HelloWorld).
Erik Dark