In order to compile sample Java programs, you will need the Java SDK http://www.oracle.com/technetwork/java/javase/downloads/index.html Once you download the java SDK, make usre that the java compiler is in your path. If it is, the following should work. c:> javac -version In order to compile a java program use the following: c:> javac SimpleArray.java Then, you must have the current working directory in your classpath to run it. c:> set classpath=.;%classpath% Run the compiled Java class: c:> java SimpleArray brian