NXKnowledge

NX Open Programmer's Guide > Execution Methods > Java on UNIX

Java on UNIX

On UNIX, the libjsig library must be added to the preload environment variable. NX provides a script to handle this — instead of java.exe, use the run_java command found in <NX install directory>/ugopen/. It takes the same inputs as java.exe:

<NX install directory>/ugopen/run_java <java options> <your class name>

Example equivalent to the Windows case:

run_java -classpath .:$UGII_BASE_DIR/nxbin/NXOpen.jar:$UGII_BASE_DIR/nxbin/NXOpenUF.jar <your class name>

Related Topics

  • Executing batch applications overview
  • NX Open for C++
  • NX Open for .NET
  • NX Open for Java
  • NX Open for Python
  • Java on Windows

Source: https://docs.sw.siemens.com/en-US/doc/209349590/PL20220512394070742.nxopen_prog_guide/genid_java_on_unix_6_568 · retrieved Tue Jul 07 2026 00:00:00 GMT+0000 (Coordinated Universal Time)