Source: gzipped tarball, bzip2ed tarball zipfile
The procedure should be the same for any UNIX flavor with a modern JDK/JRE. the Sun 1.3 or 1.2.x JDK should work, though only JDK1.3 has been tested.
In Netscape, you can save the file by shift-clicking on the link. From the
shell prompt, run
[user@host ~] % tar xzvf draw-final.tar.gz draw/ draw/lineShape.java draw/Shape.java draw/ShapeList.java draw/Tool.java ... draw/showRNCommand.java draw/helpMenuRequest.class draw/static/ draw/static/releasenotes.html~ draw/static/releasenotes.html draw/static/releasenotes.html,v
[user@host ~] % cd draw
[user@host ~/draw] %
CLASSPATHenvironment variable is set properly, and that the
PATHvariable includes the proper path to the JDK (/usr/local/jdk/ assumed here):
[user@host ~/draw] % PATH=/usr/local/jdk/bin:$PATH [user@host ~/draw] % export CLASSPATH=/usr/local/jdk:.
[user@host ~/draw] % javac *.java
[user@host ~/draw] % java draw
Assorted font errors will occur here -- this appears to be a configuration issue in the JDK, but does not have overt adverse effects.
less) or an editor (e.g.
gedit, etc.); here assuming the sample file
[user@host ~/draw] % gnp samples/demo1.draw