The DynamicJava Command Line Interpreter

> The DynamicJava distribution includes a command line interpreter. It can be invoked using the following command:
> `djava [options] [file]`
> or
> `djava [options] -c classname [args ...]`

> > file
> >   The script to execute. A script has not to be a valid Java TM compilation unit: it can contain statements and expressions outside class definitions. Each of them are evalutated sequentially.
> >   If no file is given, the interpreter enters interactive mode. In this mode you must press the enter key twice in order to interpret the last statement.
> > -c <classname>
> >   With this option `djava` works like the `java` command: it invokes the `main` method of the given class.
> >   Note: When you use this option, be sure to have correctly set the library path with the -lp option (the current directory is not in the default library path).

> Options:

> > -cp <directories or jar files separated by : or ;>
> >   Set the search path for the class files. It is the same as the -cp option of the java command. The classpath set with this option is added to the default classpath given by the CLASSPATH environment variable.
> > -lp <directories separated by : or ;>
> >   Set the search path for the auxiliary source files. These files must have the structure of the JavaTM compilation unit (ie. package clause + importations + classes or interfaces).
> > -i <file>
> >   Load an initialization script.
> > -l
> >   Tells the interpreter that it must not exit on exception.

Send comments, suggestions and bug reports to shillion@ilog.fr
Last modified: Fri Jun 9 17:01:13 MEST 2000