aspose file tools*
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 Spring in Action 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
Author

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?


Mary
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5836
    
    7

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)

-vm
c:/java/jdk-1.5.0_19/bin/javaw.exe

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


JBoss In Action
Mary Chellapa
Ranch Hand

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

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Eclipse not launching