![]() |
JSwat ProjectHow to Compile JSwat |
Before you can compile JSwat, you will need to add the JSwat
'classes
' directory to your
CLASSPATH
environment variable. Since JSwat depends
on the JPDA library, you will need to include the appropriate
jar file. See the installation
instructions for how that is done.
There are two possible paths (well, reasonable ones anyway) for compiling the JSwat source code.
jmake.pl
jmake.pl
Perl script to compile JSwat. The script is written in Perl which means you will need an
appropriate interpreter to run the script.jmake.pl
in your path, open
a command shell and go to the JSwat
'classes
' directory, or its parent
directory. From here you can type 'jmake.pl
'
to compile the entire JSwat program.ant
ant
to
compile JSwat by passing the 'compile' target name. Then to
run JSwat, simply invoke ant
again, passing the
'go' target.