Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Failed to create Java virtual machine-Eclipse Halios EE
Failed to create Java virtual machine-Eclipse Halios EE [message #660364] Fri, 18 March 2011 02:54 Go to next message
Eclipse UserFriend
Seeing the popup dialog " Failed to create Java virtual Machine " when i run the Eclipse Halios launcher .
I am using eclipse-jee-helios-SR1-win32 .
Is it somewhere related to the OS that i am running ?
In my case it is - Microsoft Windows home addition using service pack 2.
It is also worth to mention that the standard edition start and works perfectly.
Please, advice. Thanks in advance.
Re: Failed to create Java virtual machine-Eclipse Halios EE [message #660439 is a reply to message #660364] Fri, 18 March 2011 08:37 Go to previous messageGo to next message
Eclipse UserFriend
On 2011.03.18 0:54, techiespoint wrote:
> Seeing the popup dialog " Failed to create Java virtual Machine " when i
> run the Eclipse Halios launcher .
> I am using eclipse-jee-helios-SR1-win32 .
> Is it somewhere related to the OS that i am running ?
> In my case it is - Microsoft Windows home addition using service pack 2.
> It is also worth to mention that the standard edition start and works
> perfectly.
> Please, advice. Thanks in advance.

Giving us your eclipse.ini here might help. In cases like this, it's
useful to know the bittedness of your copy of Eclipse and the JDK you've
wired up to it.
Re: Failed to create Java virtual machine-Eclipse Halios EE [message #660440 is a reply to message #660364] Fri, 18 March 2011 09:02 Go to previous messageGo to next message
Eclipse UserFriend
Solved the problem by starting Eclipse with the following command -

eclipse -vm "C:\Program
Files\Java\jdk1.6.0_21\jre\bin\javaw"

Hope this helps , Cheers ! Smile
Re: Failed to create Java virtual machine-Eclipse Halios EE [message #660476 is a reply to message #660440] Fri, 18 March 2011 10:48 Go to previous messageGo to next message
Eclipse UserFriend
On 18-Mar-11 07:02, techiespoint wrote:
> Solved the problem by starting Eclipse with the following command -
> eclipse -vm "C:\Program
> Files\Java\jdk1.6.0_21\jre\bin\javaw"
>
> Hope this helps , Cheers ! :)

It's usually considered a minimum to connect Eclipse directly to the
JDK/JRE via eclipse.ini. The file can't ship that way, obviously.
Clearly, we're not doing a good enough job alerting people that they
should do this.
Re: Failed to create Java virtual machine-Eclipse Halios EE [message #661709 is a reply to message #660476] Sat, 26 March 2011 10:55 Go to previous message
Eclipse UserFriend
Couldn't you bolt some code into the eclipse.exe that checks whether
there is a java vm available and if not, throw up a dialog bog to allow
the user to browse for one?
That's what Oracle's SQL Developer does.
Previous Topic:How to debug JavaScript
Next Topic:Java EE wizards not working. Only EAR Wizard works
Goto Forum:
  


Current Time: Wed Jul 23 19:42:10 EDT 2025

Powered by FUDForum. Page generated in 0.04426 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top