Message-ID: <1544165978.796028.1386780277295.JavaMail.email@example.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_796027_337540815.1386780277294" ------=_Part_796027_337540815.1386780277294 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Unzip the distribution file you have downloaded:
Change to the Janino directory
You will find the Janino JAR files, the source code ZIP files, the text = of the BSD license, and a README file.
Put "commons-compiler.jar" and "janino.jar" on your = class path.
If you're using an IDE like ECLIPSE, you can optionally have "commo= ns-compiler-src.zip" as the source attachment of "commons-compile= r.jar", and "janino-src.zip" as the source attachment of &qu= ot;janino.jar". That'll get you tooltip JAVADOC and source level debug= ging into the JANINO libraries.
Use one of the features, e.g. the "expression evaluator", in y= our program:
Compile, run, ... be happy!
The ShippingCost class demonstrates how easy i= t is to use Janino as an expression evaluator.
The ExpressionDemo class implements a comman= d line-based test environment for the expression evaluator.
The ScriptDemo class implements a command line-b= ased 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 varia= ble declarations in a set of JavaTM source files.