Siemens PLM License Server Installation Trouble Shooting

Greetings from Jytra!

Despite of vast experience with NX software for almost 17 years, we suddenly landed into Siemens PLM License Server in a new computer. Below is the system configuration:

Operating System : Windows 7 Home Premium 64bit

Siemens PLM License Server Version: v8.2.1_win64_setup

When we are attempting to install the license server we were getting a series of error messages like below:

Java VM cannot be started


unable to start application - java virtual machine cannot be loaded


unable to start application - java virtual machine cannot be loaded
Class not registered.

Then we noticed that the system is missing with Java Run time Environment. Hence as a common best practice, landed on to Oracle website and downloaded the latest JRE for Windows 64bit and installed.

When we tried again, we are getting the same message again and again. Repeated uninstall and install of JRE latest version didn't help.

Finally, we really realized is Simens PLM server is looking for a path as below:

C:\Program Files\Java\jre7\bin

However, the latest JRE 8 has a different installed path, jre7 is replaced by some thing like jre 8.2.1. So this is the reason Siemens License Server is unable to find the execuatable for jre7. They are still stuck with jre7 for some internal reasons.

So, we followed the below final steps to get rid of these issues:

  1. Uninstall all Java Runtime versions from the computer.
  2. Restart the computer
  3. Search for java 7 for Windows 7 64bit operation system (or as per your Operating system). In our case, we found the latest JRE as "jre-7u80-windows-x64.exe".
  4. Set the environment variable as :  My computer-> right click -> properties -> Advanced System Settings -> Environment Variables -> Create/Edit the variable (_JAVA_OPTIONS = -Xmx512M)
  5. Please note "_JAVA_OPTIONS" has to be pasted in Variable Name field and "-Xmx512M" to be pasted in variable value field. Make sure there are no extra spaces in above strings.
  6. Try installing jre7 downloaded above in your pc. It should work fine.
  7. In case of any error, change the above Environment variable as "_JAVA_OPTIONS = Xmx512M"
  8. After this you install Siemens PLM License server, it should work fine.
  9. Still if you face any problem, add the path of your java.exe in "Path" Environment variable at the end after a ; (Example: Path = .......;C:\Program Files\Java\jre7\bin;C:\Program Files\Java\jre7\bin\java.exe. ). Do not delete any previous values in Path variable. Just add the new java paths at the end separated by '.

Now NX license server should work perfect.

Hope these steps will save your time and help you in flawless installations of Siemens PLM License Server.

Thanks & Best Regards,

Murali Krishna Mutyala

Jytra Technology Solutions Pvt. Ltd.