About
This page explains how to setup your CCIS accounts to use DAJ.
Setup
In order to be able to use the DAJ compiler and tools from your CCS
account you need to first complete the following steps:
- Add
/proj/demsys/demjava/bin
to your PATH environment
variable
- You can do this by adding the following line to your
.software
file.
PATH=/proj/demsys/demjava/bin
- If you do not have a
.software
file then you have
to append the above directory to your PATH variable in your shell's
initialization file.
The following commands are now available on your shell
- dajc - the DAJ compiler
- daj - specialized command to run bytecode compiled with the dajc
Testing your Setup
To test your setup for DAJ type the following at your shell prompt:
> dajc
The command should reply with the following:
Usage:
java edu.neu.ccs.demeter.tools.daj.DAJ
To compile a class dictionary, write a file my.cd containing
A = String Ident.
and run
dajc *.cd
In the gen directory you will find the code produced for class A.
For information on DAJ in general visit
The DAJ Web Page