Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 06:54 Go to next message
techiespoint  is currently offline techiespoint Friend
Messages: 2
Registered: March 2011
Junior Member
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 12:37 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

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 13:02 Go to previous messageGo to next message
techiespoint  is currently offline techiespoint Friend
Messages: 2
Registered: March 2011
Junior Member
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 14:48 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

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 14:55 Go to previous message
Chris is currently offline ChrisFriend
Messages: 97
Registered: July 2009
Member
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: Fri Apr 19 08:12:42 GMT 2024

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

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

Back to the top