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). Then click
Import to import the library into the application. During the import, the JAR file is copied into the 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.
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.