How to import jar files in Niagara
This article explains how a custom module(jar file) is added into the Niagara Container
1.Add Modules to Workbench:
-
Copy the
example-rt.jarandexample-wb.jarfiles to the Niagara 4 modules folder at the following location:C:\<VendorName>\<WorkbenchVersion>\modules -
Restart Workbench so it indexes the new files.
2.Transfer Modules to the Target Host:
-
In Workbench, connect to the JACE controller or N4 container Platform in the Nav tree.
-
Double-click Software Manager.
-
In the File list, locate and select both
example-rt.jarandexample-wb.jar(hold CTRL to select multiple). -
Click Install (or Upgrade if an older version exists).
-
Click Commit.
3.Reboot the Host:Required to load the modules into the host's memory.
When the Software Manager finishes the commit process, it will prompt you to reboot the JACE or N4 Container. Accept this prompt to reboot the device.
(If you bypass the prompt, you can manually reboot by navigating to Platform Administration and clicking Reboot).
4.Verify Module Presence and Certificates:
-
Reconnect to the JACE or N4 container platform once the reboot is complete.
-
Double-click Software Manager.
-
Locate
example-rt.jarandexample-wb.jarin the list. -
Check the icons in the Installed column:
-
Green Shield
:Indicates a valid certificate is present and trusted. -
Question Mark / Warning
: Indicates a missing, untrusted, or expired certificate. Depending on the JACE's verification settings, this may prevent the module from running.
-