java COM.sootNsmoke.oolong.Oolong [-g] [-n] [-d directory] file1.j ... java Oolong [-g] [-n] [-d directory] file1.j ...
Oolong reads the file file1.j, which is expected to contain a number of class descriptions in the Oolong language, as described in section B.4. The compiled classes are placed in separate files. The name of the file is the name of the class (with any package name removed) with the extension .class.
For example, suppose file1.j contains this class declaration:
The resulting file will be called bar.class.
The main executable class is called COM.sootNsmoke.oolong.Oolong. The class Oolong, in the default package, is also provided, which has a main method that calls the main in COM.sootNsmoke.oolong.Oolong. This class is a convenience if you don't want to type the longer name when compiling.