Use the External Java Library node (
) to import compiled Java libraries that you want to include in a method. The Java libraries (JAR files) can be created with any third-party Java development tool. To add a new
External Java Library node, right-click the
Libraries node (
) and choose
External Java Library or click the
External Java Library button in the ribbon toolbar. Enter a label to display in the
Label field.
The Settings window for an
External Java Library node contains the following section:
In the Filename field, enter the name of the Java library file that you want to import, or click
Browse to locate and choose a Java library file (JAR file). You can also click the downward arrow beside the
Browse button and choose
Browse From (
) to open the fullscreen
Select File window. Click the downward arrow for the
Location menu (
) to choose
Show in Auxiliary Data (
) to move to the row for this file in the
Auxiliary Data window,
Edit Location (
) (if its in a database),
Copy Location (
), and (if you have copied a file location)
Paste Location (
). When you have chosen a Java library file, it is imported to the application. During the import, the JAR file is copied into the application. Information about the file appears under
Library imported into application. When you save the application, it contains a copy of the entire JAR file. Also, import statements for packages declared in the JAR file are added to the source code of all existing and future methods and utility classes in the application, and all Java code in the application is recompiled, with the added JAR file on the class path.
Click Reload (
) to reload the JAR file if it needs to be updated. Click
Discard (
) to remove the JAR file from the application.
If you delete the External Java Library node, the program updates all Java source code to exclude imports defined by the JAR file and recompiles all Java code in the application.