This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Hands On Software Engineering with Python and have Brian Allbey on-line!
See this thread for details.
Win a copy of Hands On Software Engineering with Python this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

Eclipse start but return exit code=1  RSS feed

 
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
 
Author
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
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.
 
author
Posts: 5856
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
Posts: 5856
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?

 
You didn't tell me he was so big. Unlike this tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!