Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to install eclipse to use with PHP, so I downloaded it from, extracted the zip file, and tried to install eclipse. It was throwing an error like

"JRE or JDK must be available in order to run eclipse. No JVM was found after searching the following locations: D:\documents and settings\user\mydocument\download\eclipse\jre\bin\jawaw.exe in your current path"

I installed JDK on my system and then I tried to install eclipse but it was throwing the same error. How can I get eclipse to install successfully?

share|improve this question

migrated from Jul 20 '11 at 3:06

This question came from our site for professional and enthusiast programmers.

Install that. If it errors wipe out java from your system and try it again.

share|improve this answer

You need a JRE (runtime environment) for running Eclipse. While Eclipse contains its own compiler, negating the need for a JDK (development environment), it's still written in Java and hence requires the JRE.

share|improve this answer
  • Make sure the JAVA_HOME environment variable points to the JRE directory of your preference
  • After installing JRE, make sure you have restarted your machine

If both do not work Try running eclipse with a -vm flag (from command prompt)

eclipse -vm D:/../YOUR_JDK_FOLDER/bin/javaw.exe

If the last works, you might consider reating a shortcut of eclipse on the desktop (or wherever), right click -> properties, and in the target text box (where you have the path to eclipse.exe), add -vm D:/../YOUR_JDK_FOLDER/bin/javaw.exe at the end.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .