set JAVA_HOME=c:\j2sdk1.4.1_02
set PATH=%JAVA_HOME%\bin;%PATH%
set CLASSPATH=. (Root directory of your CLASSES, or path to your JAR FILE)
java MyApplication
If you do not know the usage/purpose of "classpath" please read it up on
java.sun.com or your favourite java book.