File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse not launching Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse not launching" Watch "Eclipse not launching" New topic

Eclipse not launching

Mary Chellapa
Ranch Hand

Joined: Jul 26, 2011
Posts: 93
I downloaded the new version of eclipse and upgraded to jdk1.5 but when I try to launch the eclipse, it gives a message java 1.5 or higher required.
I have checked path , classpath and installed programs under control panel. What am I missing?

Peter Johnson

Joined: May 14, 2008
Posts: 5852

Most likely there is an older version of Java somewhere and you are picking that up. You can direct Eclipse to use a specific installation of the JVM by adding the -vm option to eclipse.ini like this example (note that you need two lines - one for the -vm, the other for the location)


Add these lines immediately in front of the -vmargs entry.

JBoss In Action
Mary Chellapa
Ranch Hand

Joined: Jul 26, 2011
Posts: 93
This was exactly it... i have oracle database on my machine and it was picking up the older version from there.

I agree. Here's the link:
subject: Eclipse not launching
It's not a secret anymore!