Could not create the Java Virtual Machine error
Moderator:PywareTechSupport
-
- Posts:5
- Joined:Mon Jan 12, 2009 11:50 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?
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?
Re: Could not create the Java Virtual Machine error
What operating system are you running?
-
- Posts:5
- Joined:Mon Jan 12, 2009 11:50 pm
Re: Could not create the Java Virtual Machine error
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.
Re: Could not create the Java Virtual Machine error
Thank you I will investigate the issue and see what could be causing the issue.
-
- Posts:5
- Joined:Mon Jan 12, 2009 11:50 pm
Re: Could not create the Java Virtual Machine error
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.
Re: Could not create the Java Virtual Machine error
I have just uploaded a new Windows Demo, could you please download and install that version to see if it corrects your problem.
-
- Posts:5
- Joined:Mon Jan 12, 2009 11:50 pm
Re: Could not create the Java Virtual Machine error
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:
to what it is below.
That seems to have fixed the program and it is now loading and functioning properly.
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
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
Re: Could not create the Java Virtual Machine error
How much ram do you have installed in your computer currently?
-
- Posts:5
- Joined:Mon Jan 12, 2009 11:50 pm
Re: Could not create the Java Virtual Machine error
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.
Re: Could not create the Java Virtual Machine error
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.
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.