NX Starting the NX Launcher leads to a Java error

2021-10-06T23:27:35Z
NX System Administration

Summary


Details

Trying to run / start the NX Launcher:

Error message:
NX Launcher - system was unable to find the specified registry key for value.

Also, a Java error appeared.

Solution

1. First, specifically make sure a 64-bit version of Java is installed.
    To confirm, look under the Programs and Features list


    IF 64-bit Java is installed,  "(64-bit)" will explicitly be noted. 

     Example:
     Java 8 Update X (64-bit)




2. Secondly, makes sure the NX environment sees that 64-bit Java via
        the NX environment variable - UGII_JAVA_HOME

    Define UGII_JAVA_HOME inside the ugii_env.dat file to make sure NX sees Java 64-bit.


    a. Underneath C:\Program Files\Siemens\NX\UGII\


             is a (text) file called ugii_env.dat


     b. Open and edit the ugii_env.dat file, adding the UGII_JAVA_HOME value (example ONLY)
            Notice the double quotes enclosing the path (especially for a path with a space like Program Files)


        # Override any variables here.


        UGII_JAVA_HOME="C:\apps\Java\jre8x64"


        #


3. Next, test by launching an NX translator and make sure you successfully get to a translator start dialog.
          Launching any of the NX translators in the Start -> Siemens NX menu is a very effective 
          way to confirm the NX environment sees the Java 64-bit configuration.


    Start -> Siemens NX -> Translators IGES




    If the NX translator presents the following start dialog, this confirms NX sees Java 64-bit.
    Furthermore, the command prompt that appears when launching an NX translator will explicitly confirm:

    "This meets or exceeds the minimum required version of 1.8.0_X"
4. Having confirmed the NX / Java 64-bit configuration is complete,
    NOW try running / starting the NX Launcher again.

Summary:    
In this particular case, a completed basic Java JRE 64-bit installation / configuration fixed the problem with the failed startup of the NX Launcher.

Hardware/Software Configuration

Platform: INTL64
OS: windows
OS Version: 1064
Product: NX
Application: SYSENG
Version: V1903
Function: CONFIG_UPGRADE

Ref: 002-8016843

KB Article ID# PL8016843

Contents

SummaryDetails

Associated Components

Installation