This directory contains the executable joos compiler (joos), 
and various scripts for running java and joos.

To use any of these scripts you should have the following environment
variables set:
   JAVADIR - directory containing a version of JDK 1.02 
   JOOSDIR - parent directory of this directory 

examples:  setenv JAVADIR /users/thohn/staff/JDK1.0.2
           setenv JOOADIR /users/hendren/JOOS

You should place this directory ($JOOSDIR/Bin), plus the directory 
containing the binaries for java ($JAVADIR/bin), in your PATH environment 
variable.

There are two options for your setup.  

OPTION 1
--------
The first option it that you don't set your CLASSPATH
variable and use special scripts that set it for you each time you
invoke a program.     OPTION 1 does not work with Windows95 setups.

OPTION 2
--------
The second option is to preset your CLASSPATH variable to include all 
the classes needed for JOOS, Java and Jasmin.   Then you can use the
ordinary  java and jasmin commands.

You must include at least the following:

setenv CLASSPATH .:$JAVADIR/lib/classes.zip:$JOOSDIR/Lib:$JOOSDIR/Jasmin/jasmin/classes 

Note that if your CLASSPATH is set, then you must reset it to empty before
invoking netscape.  This is because netscape needs to find it's own set
of the standard class libraries.   You can do this best using  
the command jnetscape found in this directory.
 
Explanation of commands 
-----------------------
Use the version of the command with the extra j if you have chosen OPTION 1,
the version without the j if you have chosen OPTION 2.  

Name        Description                    Example Uses
----        -----------                    -----------

appletviewer/jappletviewer                 appletviewer foo.html 
            JDK appletviewer for executing
            applets outside of a browser.     

jasmin/jjasmin     
            run the jasmin assembler       jasmin foo.j
            to convert .j files to 
            .class files.

java/jjava  execute a java class file,     java foo
            the class must have a main 
            method.

javac/jjavac  
            compile .java files into       javac foo.java goo.java
            .class files.  

javap/jjavap    
            disassembles java .class       javap foo
            files

joosc/jjoosc compile a collection of JOOS  joosc foo.java goo.java
              source files;  
            extern files are automatically
              included; 
            includes running jasmin to
              assemble the .j files, 
              and calling javap to verify 
              the generated .class files

One more interesting command, that does not need any CLASSPATH, is:

dejava       convert .class files into .j   dejava foo
             jasmin files
