• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Eclipse crashes on start

 
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Apologies if this was around somewhere, couldn't find it in the search listings.

After an hour of clunking around reinstalling the Java SDK and fiddling with the (Windows Vista 64-bit) PATH and CLASSPATH variables, I finally got the ability to compile & run from the command line working.

Alas, I have somehow broken eclipse along the way! Whenever I start it up, I get the following error:


I re-unzipped the eclipse files to no avail. Any suggestions?

Thanks in advance for your help!
[ April 21, 2008: Message edited by: Joseph Macer ]
 
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The dialog contains a line "-Xmx256m", saying Eclipse has a maximum memory of 256 MB, which might be too little. But this is just a guess.

Do you have some sort of log file, which might give some more info regarding the actual error or exception that causes the crash?
 
Guido Sautter
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
One more thing: Windows VISTA requires Eclipse 3.2, Eclipse 3.1 won't run on VISTA.
 
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you are using jdk1.6.0_06 whereas there is a message in the error which says -Dosgi.required Java version=1.5
maybe that could be the problem
 
abhishek pendkay
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I just came across this link which says that there is a bug in 64 bit VM which causes eclipse to crash , maybe you can check out
[ April 21, 2008: Message edited by: abhishek pendkay ]
 
Joseph Macer
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm using Release 3.3.2 according to the readme in the program folder, and I have 4 GB of ram so I doubt it's a memory issue.

As for the SDK version, is it possible to have two versions installed at the same time? I'll try installing the older version I guess, but I was planning on using Java 6...
 
Joseph Macer
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hmmm. Now I have JRE & JDK versions 1.5.0 and 1.6.0, but the same error occurs.

Perhaps I should uninstall all Java version, then re-install eclipse?
(also - fixed image in original post)



EDIT: nope, reinstalled everything to no avail. Grrr!
EDIT 2:: the kicker - Java no longer works in Firefox. I still have the JRE and JDK 1.6 installed, and can complie & run stuff from the command line, but java applications will not load in Firefox anymore. When I try to install version 1.5 of JRE or JDK, they insist they are already installed ><

[ April 21, 2008: Message edited by: Joseph Macer ]
[ April 21, 2008: Message edited by: Joseph Macer ]
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't know how this is for 64-bit Windows, but for 64-bit Linux there's a separate version of Eclipse (which is not the same as the 32-bit version).

Maybe you need a version of Eclipse which is specific for 64-bit Windows?
 
Joseph Macer
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Perhaps - but I've ran the same version of Eclipse before my tweaks and it worked fine. Any idea how to get my hands on the 64-bit package? It keeps trying to give me the 32-bit package.

EDIT: on further thought, that might be it: I have the 64-bit versions of 1.6 JRE and JDK, and 32-bit Eclipse, I just can't find a 64-bit Eclipse for windows.
[ April 21, 2008: Message edited by: Joseph Macer ]
 
Joseph Macer
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Also - Guido Sautter mentioned posting a log file, and I finally found it, but it's huge & long. Let me know if you want the whole thing posted


EDIT: Okay, fixed. Anyone with 64-bit windows, here's what I did:
1) Uninstalled all versions of java.
2) Installed 32-bit JRE & JDK.
3) Added "C:\Program Files (x86)\Java\jdk1.6.0_06\bin;" to the PATH variable.
4) Now stuff should run from both the command-line and Eclipse.

I'd rather have it set up so I use 64-bit versions to compile stuff from the command line, while still having 32-bit versions load for Eclipse (which didn't like the 64-bit versions), but it looks like I'd have to manually change the PATH variable each time.


Question: Do you lose much performance if, say, running a server in 32-bit mode rather than 64-bit?
[ April 21, 2008: Message edited by: Joseph Macer ]
 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Joseph,

I don't think performance will be such an issue unless your program is very memory intensive. I read something about this here.

Kind regards,

Gaura
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
take a backup of eclipse.ini & delete it from eclispe root folder.
& check.
 
Doody calls. I would really rather that it didn't. Comfort me wise and sterile tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic