This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds and have James Denton on-line!
See this thread for details.
Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization 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:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

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
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.
 
author
Bartender
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
Bartender
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?

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!