Compiling Java Files

  1. Select Settings > Active Profile .
  2. Select the Java icon in the left-hand scroll window. The General page appears.
  3. Click the folder icon next to the Java home text box to select the directory where the Java SDK is installed.
  4. Add any required entries to the classpath in the Classpath text box.
    Note: Alternatively, you can use the JavaSetOption function with the appropriate option number to set the Java version, home directory, and classpath.
  5. Click OK.
  6. Perform manual compilation using one of the following methods:
    • Open a Java file and press F7.
    • Open a Java file and right-click in the view to open the context menu. Select the Compile command.
    • Right-click a Java file on the Project page to open the context menu. Select the Compile command.
Initiating Try Scripts, finding baselines, and running tests will also automatically launch compilation for all Java and BDL files.

During compilation, all output from the Java Compiler is redirected to the Compiler page. Resulting class files are generated in the current project directory.