Skip to content

User Guide: Managing JAR Files

Managing JAR Files

This section describes procedures for managing JAR files in Volt MX Foundry. The following procedures explain how to import, update, and delete JAR files.

Importing a New JAR File

To import a new JAR file, do the following:

  1. In API Management, click Custom Code.
  2. Click the Add New button.
  3. In the Import JAR File window, do either of the following:

    • Drag and drop the JAR file directly into the window.
    • Click on Browse to add the JAR from the file directory.

    Important: Make sure that you upload a JAR file that is built using the same JDK version that you use for installing Volt MX Foundry.

  4. Click to close the JAR Imported Successfully notification.

Updating a JAR File

To update a new version of an existing JAR file, do the following:

  1. In API Management, under Custom Code, click on the JAR file that you want to update.
  2. Click Update.
  3. In the Update JAR File window, do either of the following:

    • Drag and drop the JAR file directly into the window.
    • Click on Browse , select the JAR from your file directory, and click Open.

    Important: Make sure that you upload a JAR file that is built using the same JDK version that you use for installing Volt MX Foundry.

Deleting a JAR File

To delete a JAR file that is not needed, do the following:

  1. In API Management, under Custom Code, click on the JAR file that you want to delete.
  2. In Associated Services, if there are associated services listed, click on the service and then click Unlink.
  3. After all associated services are removed, click Delete to remove the JAR file.