Could not create the Java Virtual Machine error

Report problems you have been having while using the 3D Java program.

Moderator:PywareTechSupport

Post Reply
miker33333
Posts:5
Joined:Mon Jan 12, 2009 11:50 pm
Could not create the Java Virtual Machine error

Post by miker33333 » Mon Jan 12, 2009 11:53 pm

Hi all,

I downloaded the demo today and installed it, but couldn't get it to run. I get the Could not create the Java Virtual Machine error each time I try to open the program, and no other information is provided. I installed java, uninstalled it, reinstalled it, did everything I could and tried looking up information on the internet about that error and couldn't find anything to help me.

Am I missing something?

Pyware
Site Admin
Posts:1155
Joined:Fri Aug 19, 2005 10:38 am
Location:Argyle, TX
Contact:

Re: Could not create the Java Virtual Machine error

Post by Pyware » Tue Jan 13, 2009 8:07 am

What operating system are you running?

miker33333
Posts:5
Joined:Mon Jan 12, 2009 11:50 pm

Re: Could not create the Java Virtual Machine error

Post by miker33333 » Tue Jan 13, 2009 8:11 am

Windows XP, SP 2. It is on my home computer that I am having that error message. On my work computer I use Windows XP SP2 as well but I have no trouble there.

Pyware
Site Admin
Posts:1155
Joined:Fri Aug 19, 2005 10:38 am
Location:Argyle, TX
Contact:

Re: Could not create the Java Virtual Machine error

Post by Pyware » Tue Jan 13, 2009 8:14 am

Thank you I will investigate the issue and see what could be causing the issue.

miker33333
Posts:5
Joined:Mon Jan 12, 2009 11:50 pm

Re: Could not create the Java Virtual Machine error

Post by miker33333 » Tue Jan 13, 2009 8:51 am

I never had any problems like this before. But last month I did reformat my hard drive and had to reload Windows, so that might be an issue, though I don't know how. I have also researched the issue of the error message I recieved but no one had any good answers on the internet either.

Pyware
Site Admin
Posts:1155
Joined:Fri Aug 19, 2005 10:38 am
Location:Argyle, TX
Contact:

Re: Could not create the Java Virtual Machine error

Post by Pyware » Tue Jan 13, 2009 9:52 am

I have just uploaded a new Windows Demo, could you please download and install that version to see if it corrects your problem.

miker33333
Posts:5
Joined:Mon Jan 12, 2009 11:50 pm

Re: Could not create the Java Virtual Machine error

Post by miker33333 » Tue Jan 13, 2009 10:30 am

No luck with just downloading the new demo. However...

I did some more research on the internet and found a java program called "Maple" or something like that. The people using that program were having the same issue I was with Pyware. They suggested altering the "heap size" when the program is being called and I should look for it in the initiation file if I could. In the file "Pyware Demo 3D.lax" I changed the code which was originally:

Code: Select all

#   LAX.NL.JAVA.LAUNCHER.MAIN.METHOD
#   --------------------------------
#   main method of LaunchAnywhere's java launcher -- do not adjust

lax.nl.java.launcher.main.method=main
lax.nl.java.option.java.heap.size.initial=134217728
lax.nl.java.option.java.heap.size.max=1073741824
to what it is below.

Code: Select all

#   LAX.NL.JAVA.LAUNCHER.MAIN.METHOD
#   --------------------------------
#   main method of LaunchAnywhere's java launcher -- do not adjust

lax.nl.java.launcher.main.method=main
lax.nl.java.option.java.heap.size.initial=10000000
lax.nl.java.option.java.heap.size.max=100000000
That seems to have fixed the program and it is now loading and functioning properly.

Pyware
Site Admin
Posts:1155
Joined:Fri Aug 19, 2005 10:38 am
Location:Argyle, TX
Contact:

Re: Could not create the Java Virtual Machine error

Post by Pyware » Tue Jan 13, 2009 11:33 am

How much ram do you have installed in your computer currently?

miker33333
Posts:5
Joined:Mon Jan 12, 2009 11:50 pm

Re: Could not create the Java Virtual Machine error

Post by miker33333 » Tue Jan 13, 2009 11:52 am

1GB. I suppose the program was trying to call the whole of my RAM to run the program? Actually, it was really not working too well at the numbers I originally adjusted it to, so I had to bump it up 5x but it's still running on my computer. I'm guessing another gig of RAM and I would be running perfectly on the original settings.

Pyware
Site Admin
Posts:1155
Joined:Fri Aug 19, 2005 10:38 am
Location:Argyle, TX
Contact:

Re: Could not create the Java Virtual Machine error

Post by Pyware » Tue Jan 13, 2009 11:57 am

Please try adjusting the settings to the values below.

a. lax.nl.java.option.java.heap.size.initial=134217728
b. lax.nl.java.option.java.heap.size.max=1207959552

If those do not work please change them to:

a. lax.nl.java.option.java.heap.size.initial=134217728
b. lax.nl.java.option.java.heap.size.max=805306368

Please let me know if the software runs after these values.

Post Reply