NetXMS Support Forum

English Support => General Support => Topic started by: m37r0 on April 16, 2014, 09:14:07 AM

Title: nxmc 1.2.11 works but 1.2.13 no java virtual machine
Post by: m37r0 on April 16, 2014, 09:14:07 AM
i run nxmc 1.2.11 on windows 8.1 - works fine

when i run nxmc 1.2.13 i see "no java virtual machine was found"

where to solve this?

thanks
Title: Re: nxmc 1.2.11 works but 1.2.13 no java virtual machine
Post by: itproact on September 18, 2014, 04:53:33 AM
I had the same issue, if you are running a 64bit version of windows, you need to install the 64bit version of Java.

https://java.com/en/download/manual.jsp

Hope this helps.
Title: Re: nxmc 1.2.11 works but 1.2.13 no java virtual machine
Post by: delmawatson on August 23, 2018, 09:08:59 AM
Most of the time you can fix this problem by uninstalling the Java runtime and then reinstalling it all over again.


Most of the time you can fix this problem by uninstalling the Java runtime and then reinstalling it all over again. In a nutshell, the instructions show you how to make a System Variable for Java called _JAVA_OPTIONS with the value Xmx512M. This sets a global maximum heap memory size for Java. You can solve this by:

Open the Control Panel
Go to System
Go to Advanced Systems Properties
Then Environment Variables
In System Variables, click Add
New Variable Name: _JAVA_OPTIONS
New Variable Value: -Xmx512M
Click OK

That's it, your Java (http://net-informations.com/java/intro/jvm.htm) program should now be able to execute properly.
For those interested, Java -Xmx/s is the configuration parameter that control the amount of memory Java uses.

Xmx sets the maximum heap memory size
Xms sets the minimum heap memory size