This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes Unable to launche Eclipse v2.1 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 "Unable to launche Eclipse v2.1" Watch "Unable to launche Eclipse v2.1" New topic

Unable to launche Eclipse v2.1

basari mohamath

Joined: Dec 17, 2003
Posts: 1
Please help! I kept getting the following error when launching Eclipse v2.1:
JVM terminated. Exit code=2
-cp D:\eclipse\startup.jar org.eclipse.launcher.Main
-os win32
-ws win32
-arch x86
-showsplash D:\eclipse\eclipse.exe -showsplash 600
I have J2SDK, v1.3.1_6 installed as specified by the read me file. I am clueless on what to do next. Any suggestions would be greatly appreciated.
Dan Kehn
Dastardly Dan the Author
Ranch Hand

Joined: Jun 11, 2003
Posts: 120
Are you sure that you're running the JVM you think you're running? The "C:\WINDOWS\system32\javaw.exe" looks suspicious. Maybe you should explicitly specify the JVM with the -vm command line option? For example, "eclipse.exe -vm c:\sdk1.4.1\jre\bin\javaw.exe".
-- Dan

Co-author of <a href="" target="_blank" rel="nofollow">The Java Developer's Guide to Eclipse</a>, 2nd Edition<br />(Yahoo group <a href="" target="_blank" rel="nofollow">JDG2E</a>)
chad daniels

Joined: Jan 02, 2004
Posts: 1
I'm having the exact same problem on startup. I tried pointing -vm to a different jdk, set and reset JAVA_HOME and JAVA_PATH
I agree. Here's the link:
subject: Unable to launche Eclipse v2.1
It's not a secret anymore!