Make your own free website on Tripod.com

Compiling and running the .java files with the Java Development Kit

First of all you should create a special folder (e.g. C:\OUTLINE) on your hard disk and then copy all of the workshop files into it. The Java Development Kit should be installed on your PC and both the current directory and the standard classes library should be included in a CLASSPATH variable. You can check this by opening a DOS window and typing:

C:\OUTLINE>set

The result should look something like this:

.

.

PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\JDK1.1.5\BIN

CLASSPATH=.;C:\jdk1.1.5\lib

.

.

Within the new directory type:

C:\OUTLINE>javac *.java

This will compile the java files in the directory.