(Instructions for using the Northeastern CCIS installation are here.)
To install DJ and the AP Library without installing DemeterJ,
simply download the
file and put it in your class path (do not unpack the jar file).
This file is also included in DemeterJ. For more information
about using the class path in Java,
check out the
SDK tools documentation for
Solaris and Linux
where the class file you downloaded is named
java -cp . JavaCCversion
.jarfile from the ftp directory.
jartool (available in the SDK) using the command
(You can also use any unzip tool, such as Winzip.) The resulting directory (referred to below as installdir) contains the runtime library (
jar xvf demeterj-version
rt.jar) and the tools library (
demeterj.jar), as well as scripts in the
bindirectory and source code in the
src directory contains the
source code to the Demeter software; it is provided only for
your curiosity. You don't need to compile anything to run it;
.jar files have all the bytecode files you
bindirectory to your executable path:
/bin:$PATH; export PATH
chmod a+x bin/demeterj.)
binso that it sets the environment variable
DEMETERJ_HOMEto installdir. In Unix, you can just set
DEMETERJ_HOMEin your own environment if you don't want to edit the script.
java -version(should be 1.4 or later)
javac -J-version(should be 1.4 or later)
javacc -version(should be 2.1 or later)
demeterj -version(should be 0.8.6 or later)
demeterj new. This will create the project file,
program.prj, as well as sample class dictionary, behavior, and test input files,
demeterj test. This should compile and run the test program; if successful, it will print "It works!" at the end.
demeterj -eofbug test. It should continue where it left off. We're working on a better solution to this problem.