|"Failed to create the Java Virtual Machine."..huh? [message #668086]
||Tue, 03 May 2011 13:08
| No real name
Registered: May 2011
Ok..I installed Eclipse and it worked fine..then I downloaded the MacOSx 10.6.7 system update and now when I try to open Eclipse, I get the message:|
"Failed to create the Java Virtual Machine"
I've done some research and everyone says that you have to modify the eclipse.ini file but there isn't any one correct modification..I mean, I copy what their eclipse.ini file looks like but then I just start to get all kinds of different error messages.
This is what my eclipse.ini file looks like after the eclipse installation without any modification done to it:
Sooooo what am I supposed to do? I can't believe this company makes a program, and when it has bugs or crashes the only way someone can help is by randomly posting to a forum and just pray someone replies??
Well...PLEASE HELP SOMEBODY!!!! Thanks
|Re: "Failed to create the Java Virtual Machine."..huh? [message #794406 is a reply to message #668086]
||Thu, 09 February 2012 03:45
| iga z
Registered: February 2012
I had the same problem and found this discussion, and it really didn't help me at all, because "No real name" actually found his own solution and didn't post it here, just communicated his achievement and left.
I solved my problem adding this command line in my eclise.ini file:
-vm C:\Program Files\Java\jre6\bin\javaw
This bug happened because I installed JRE7 and my eclipse.ini didn't specify the JVM used. In this case, I suppose that eclipse looks for the most recent and tries to start with it. (I also tried inserting the command line for the JRE7, but the error still appeared)
In my case, the correct JVM version was 6, but in other cases it may depend on how the eclipse is installed. The real problem here I suppose it was the installation of another version of JVM, that eclipse wasn't configured for.
I hope this helps someone
|Re: "Failed to create the Java Virtual Machine."..huh? [message #826786 is a reply to message #668086]
||Thu, 22 March 2012 10:00
| Pradeep Bommisetty
Registered: March 2012
A simple fix for that could be to remove the size after launcher.XXMaxPermSize|
I mean change
"--launcher.XXMaxPermSize"...That worked for me.
You can alternatively supply the VM Arguments by navigating to Window->Preferences->Java->Installed JREs and then select the (current) JRE click Edit button. Provide the VM arguments such as "-Xms256m -Xmx512m -XX:PermSize=512m" (these values might change based on your requirement) in the "Default VM Arguments" text field.
[Updated on: Thu, 22 March 2012 10:03]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02439 seconds