DownloadPackagesDownload the latest version of Janino:
For reference, previous versions of JANINO are also available. InstallationUnzip the ZIP file you have downloaded: $ jar xvf janino-2.5.15.zipChange to the Janino directory $ cd janino-2.5.15You will find the Janino JAR file, the JAVADOC documentation, and the complete source code. To compile the demo programs, run $ mkdir classes
$ javac -classpath lib/janino.jar -sourcepath src -d classes \
> src/org/codehaus/janino/samples/ExpressionDemo.java \
> src/org/codehaus/janino/samples/ScriptDemo.java \
> src/org/codehaus/janino/samples/ClassBodyDemo.java
To learn how to use the demo programs, run:
$ java -classpath lib/janino.jar:classes org.codehaus.janino.samples.ExpressionDemo -help
$ java -classpath lib/janino.jar:classes org.codehaus.janino.samples.ScriptDemo -help
$ java -classpath lib/janino.jar:classes org.codehaus.janino.samples.ClassBodyDemo -help
Notice: On MS Windows, the classpath separator is ";", not ":".
To compile the source code: $ mkdir classes
$ javac -sourcepath src -d classes src/org/codehaus/janino/Compiler.java
You will find the Janino class file in the classes subdirectory.
To generate the JAR file, run: $ jar cf lib/janino.jar -C classes org/codehaus/janino To generate the JAVADOC documentation, run: $ mkdir javadoc
$ javadoc -splitindex -package -doctitle "Janino 2.5.15" \
> -windowtitle "Janino 2.5.15" -overview src/overview.html -sourcepath src \
> -classpath classes -d javadoc org.codehaus.janino org.codehaus.janino.samples
You will find the JAVADOC documentation in the javadoc subdirectory.
Examples
The source code of
the
The
The
The
The |
|
Copyright @2023 . janino. All Rights Reserved .