Please use at least Java 1.4. You can find it in
/bin/javacYou might need to put this on your path in your shell initialization file or .software file.
It is recommended that you use the SUN javac compiler. It has been improved and should work well for your needs.
which javactells you where it lives.
To run:
java Mainprovided Main contains the main() method.
To compile and run the provided Java classes, you need to put the rt.jar file mentioned in the Demeter software installation guide into your CLASSPATH. This jar file contains the runtime support package (edu.neu.ccs.demeter.*), as well as DJ (edu.neu.ccs.demeter.dj.*) and the AP Library (edu.neu.ccs.demeter.aplib.*, edu.neu.ccs.demeter.aplib.cd.*, and edu.neu.ccs.demeter.aplib.sg.*). To compile the generated Java classes, use:
javac *.javaTo run the program, use:
java Main < program.inputwhere program.input contains an object description that is given as input to your Java program. Study class Main.java to see how the parser is invoked.
Prepared by Karl Lieberherr and Doug Orleans.