|"Failed to create the Java Virtual Machine."..huh? [message #668086]
||Tue, 03 May 2011 17: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
Most of the advice in this thread is bad, misguided. Some of these hacks might work temporarily or on certain machine configurations, but the contents of eclipse.ini are not trivial nor arbitrary.
For the authoritative reference, see this wiki page that explains the contents of the file. Also note the See Also links at the bottom of that page for more details about things like heap size, etc.
DO NOT delete eclipse.ini, EVER. It is also inadvisable to remove the -vm or Xmx options. If you do, you're asking for trouble.
[Updated on: Wed, 07 June 2017 13:57] by Moderator
Report message to a moderator
|Re: "Failed to create the Java Virtual Machine."..huh? [message #794406 is a reply to message #668086]
||Thu, 09 February 2012 08: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
Powered by FUDForum
. Page generated in 0.05967 seconds