Could not create Java Virtual Machine

Document ID : KB000090339
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Could not create Java Virtual Machine
Resolution:
Detailed Description and Symptoms

When attempting to start the UserInterface, the following message is received:

 

"Could not create Java Virtual Machine"

This message is actually from the Windows OS and is a common message when there is a problem with Java.  It indicates that something is "broken" in your java installation.  This could have occurred when an "uninstall" was completed or a file is corrupted.


Investigation

Go to the link below to test your Java installation:

 

http://www.java.com/en/download/help/testvm.xml 

 

("How do I test whether Java is working on my computer?")

 

If the test is successful, you should get a message similar to the one below. If not, there is a problem with Java on your machine and it needs to be repaired for the UserInterface to start.


Solution

If Java is working correctly, try increasing the heap size for Java starting the UserInterface by following these steps:

 

1) Edit the "ucdj.ini" file

2) Increase the memory heap size by making this change to the "cmd=" parameter -

 

From:

cmd="C:\%Home_Dir%\Java\jre1.6.0_21\bin\javaw" -Xmx256m com.automic.ucdf.UCDialogFactory -U%User%

 

To:

cmd="C:\%Home_Dir%\Java\jre1.6.0_21\bin\javaw" -Xmx512m com.automic.ucdf.UCDialogFactory -U%User%