Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Packages

Download the latest version of Janino:

  • Janino distribution (signed JAR file, JAVADOC documentation files and complete source code)

Installation

Unzip the ZIP file you have downloaded:

Change to the Janino directory

You will find the Janino JAR file, the JAVADOC documentation, and the complete source code.

To compile the demo programs, run

To learn how to use the demo programs, run:

Notice: On MS Windows, the classpath separator is ";", not ":".

To compile the source code:

You will find the Janino class file in the classes subdirectory.

To generate the JAR file, run:

To generate the JAVADOC documentation, run:

You will find the JAVADOC documentation in the javadoc subdirectory.

Examples

The ShippingCost class demonstrates how easy it is to use Janino as an expression evaluator.

The ExpressionDemo class implements a command line-based test environment for the expression evaluator.

The ScriptDemo class implements a command line-based test environment for the script evaluator.

The ClassBodyDemo class implements a command line-based test environment for the class body evaluator.

The DeclarationCounter class implements a command-line utility that counts class, interface, field and local variable declarations in a set of JavaTM source files.

  • No labels