my dog learned polymorphism*
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse Error Eclipse start but return exit code=2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse Error Eclipse start but return exit code=2" Watch "Eclipse Error Eclipse start but return exit code=2" New topic
Author

Eclipse Error Eclipse start but return exit code=2

Maya sekar
Ranch Hand

Joined: Sep 22, 2011
Posts: 70
Hi,

My Eclipse was working fine a couple of days back. But now it throws an error. Eclipse start but return exit code=2. I cannot understand why. Please help resolve the issue.

I have attached a screen shot of the error it throws....


I was told that adding -vm [new line] #JDK path# should resolve the issue. But it hasn't. Please assist. Thank you. Have a nice day


[Download eclipse error.bmp] Download

Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30938
    
158

Maya,
It could be a lot of things. The first thing to do is rule out your workspace. Can you launch Eclipse successfully pointing to a new workspace? If so, you can import the projects you need from your old one or pull them from version control. If not, reinstalling Eclipse might be needed.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eclipse Error Eclipse start but return exit code=2