• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse start but return exit code=1

 
Yanan Jiang
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used to have Eclipse SDK 3.5.1-win32-x86_64 and it works well.
This morning I thought why not use the latest version? So I deleted the eclipse folder and unzipped the SDK 3.6. The nightmare happened then, I cannot even start the Eclipse when double clicking the icon. The message I got is (screen shot on web/attached):

http://www.freeimagehosting.net/uploads/8c8b5b2f07.png

This problem bugged me for the whole afternoon! I'll appreciate very much if anyone can help with it!
eclipse.png
[Thumbnail for eclipse.png]
error
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why on earth would you delete your existing working environment?!?!?!

Had you customized your original deployment?
 
Yanan Jiang
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was stupid and regret doing that so muc1
I didn't customize the original version, just unzipped the packageand used the eclipse.exe.

David Newton wrote:Why on earth would you delete your existing working environment?!?!?!

Had you customized your original deployment?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd check the Eclipse log first, just to see if it's something obvious. I'd check to make sure any 32/64 bit differences are dealt with, too.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have a 32-bit or 64-bit JVM? Did you download the 32-bit or 64-bit version of Eclipse? They must agree (both be the same bitness) before it will run.

On my 64-bit Win7 system I have both 32-bit and 64-bit JVMs installed. To ensure that I get the right one for Eclipse I add this entry to the eclipse.ini file (note that it is two separate lines):

 
Yanan Jiang
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's solved. Thanks guys!
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yanan, I'm glad that you got it resolved and are running again, but could you please post what the solution was for the benefit of others who will come across your same problem in the future?
 
Yanan Jiang
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sure, thanks for the notice.

It turned out that I once installed the latest JDK, 1.6.21, since it has some issue with eclipse, I switched it back to 1.6.20.
But the JDK is not installed successfully, that' why I got the eclipse error. After reinstalling JDK (double check, there should be a jdk1.6.0_version folder in C:Program Files\Java) , everything is back on the track .

Peter Johnson wrote:Yanan, I'm glad that you got it resolved and are running again, but could you please post what the solution was for the benefit of others who will come across your same problem in the future?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic