[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Eclipse failed to make virtual machine - help

Posted on 2012-08-22
Medium Priority
Last Modified: 2012-09-07

My eclipse has been working for a good while,  and now, when I click the icon, it says "failed to make virtual machine." and doesn't open the studio.

Any suggestions?
Question by:beavoid
  • 3
  • 2
LVL 86

Expert Comment

ID: 38321773
Did you install another vm/jdk?

Set JAVA_HOME to point to the new installation directory
Set PATH to

%JAVA_HOME%\bin;<whatever was there before>

Open in new window

and restart Eclipse

Author Comment

ID: 38322304
Yes, I installed a new eclipse on top of the old one. - It wasn't working.

Where is JAVA_HOME?

how do  I know for sure where my new installation directory is?

I have Max OS X
LVL 86

Expert Comment

ID: 38322329
Yes, I installed a new eclipse on top of the old one. - It wasn't working.
Make sure all previous installations are uninstalled first

Where is JAVA_HOME?

Nowhere unless you define it. I don't know what the OSX way of doing that is - i don't use it

how do  I know for sure where my new installation directory is?

It's where your OS installs it. Sounds like you need to find out more about how your machine is controlled.
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.


Author Comment

ID: 38327523

for OS X, on a Mac Book, eclipse isn't in my applications folder. What is the correct way to install eclipse on OS X?

I followed one page's advice and I get the error "Failed to create virtual machine" Elsewhere on line seemed to imply that OS Leopard has some compatibility problems?
LVL 12

Accepted Solution

Sharon Seth earned 1500 total points
ID: 38328571
Could also be the configuration in eclipse.ini ,  check this:

eclipse.ini can be found in your eclipse installation folder . BTW what happens when you type java from the commandline and run it ?

Author Comment

ID: 38333538
Mac is not like Windows, where everything is in 'Program Files' which is annoying. If I re-install it, it won't be fixed. My eclipse file doesn't seem to be in an eclipse structure.

java from the command line fails.
How exactly must I install eclipse on a mac to be standardized?
This error is probably because nothing is where it should be if installed correctly.

Which eclipse DL is best, what directory must I specify in the dialog?

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
When you discover the power of the R programming language, you are going to wonder how you ever lived without it! Learn why the language merits a place in your programming arsenal.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Starting up a Project
Suggested Courses
Course of the Month19 days, 15 hours left to enroll

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question