The following program is throwing error:
public class HelloWorld { public static void main(String args[]) { System.out.println(\"Hello World!\");
The CLASSPATH variable needs to include the directory where your Java programs .class file is. You can include '.' in CLASSPATH to indicate that the current directory should be included.
CLASSPATH
set CLASSPATH=%CLASSPATH%;.