Prev Up Top Next Contents

1.A Compiling Tunnel

To compile Tunnel you need the Java Development Kit (JDK). If you have downloaded only the runtime (JRE), you will not be able to compile the program.
Go to the tunnelx directory, just as when you wanted to run Tunnel. From there type the command,
javac src/*.java

This will compile all the java source files in the src subdirectory. The output of the compilation is a set of java class files, ie, files with extension "class", in the same directory. You need to move them in the subdirectory Tunnel because the classes belong to the package named "Tunnel" and Java searches for classes hierarchically in directories according to the package naming scheme.

marco corvi - Wed May 10 14:52:13 2006
Prev Up Top Next Contents