IJavaUtils.Compile

Syntax

Compile(FilePath: String);

Parameters

FilePath. Path and name of the file with custom classes (archive with custom classes).

Description

The Compile method compiles the specified file with Java code.

Comments

The file with the *.java extension is compiled to the file with the *.class extension to be further used in the work with a Java class using the IJavaUtils.Invoke method.

If there are errors during compilation, they can be handled using the JavaException class.

Example

The property use is given in the example for IJavaUtils.Invoke.

See also:

IJavaUtils