Eclipse 3.0.2 crashes Linux at startup [message #60798] |
Wed, 04 May 2005 16:28  |
Eclipse User |
|
|
|
Originally posted by: fernando.israel.adinet.com.uy
Hi there,
The problem is that running the eclipse executable hangs the linux box ...
I dont even get to the splash screen. In addition, I don seem to find any
log files to search for clues.
The background is the following.
This is a brand new Linux installation using RedHat 9.0 (kernel
2.4.20-31.9smp).
Ive downloaded eclipse from eclipse.org (eclipse-SDK-3.0.2-linux-gtk.zip),
and unziped. The unzip created the eclipse directory with all I need
inside.
Ive downloaded the jsdk from sun website
(jsdk-1_4_2_03-linux-i586-rpm.bin), chmod it to executable, opened it and
agreed to the license, and rpm install it. rpm -q indeed shows that the
package is installed (I also tried the build 08 of the jsdk 1.4 instead of
the 03).
When I go to the eclipse directory, I run the commmand:
shell> ./eclipse
also tried
shell> ./eclipse -vm /usr/java/j2sdk1.4.2_03/bin/java
Nothing works. The machine just hangs.
I am obviously missing something. Can somebody shed some light ?
Thank you very much in advance.
Fernando
|
|
|
Re: Eclipse 3.0.2 crashes Linux at startup [message #60800 is a reply to message #60798] |
Wed, 04 May 2005 20:00  |
Eclipse User |
|
|
|
Originally posted by: fernando.israel.adinet.com.uy
Ive made some progress with this and now I can start eclipse so I would
like to share the findings to save time to other newcomers like me that
might get stuck in a similar way.
The first problem I had was that although I have installed the jsdk, the
RedHat 9.0 was still using gcj. I have found an excellent article on how
to get rid of it and install the jsdk at
http://home.bredband.no/gaulyk/java/tutorial/javaredhat.html
The second problem was (and still is) that I cannt run eclipse out of the
excutable included in the eclipse directory after unziping the package
downloaded from eclipse.org. I have tried passing arguments such as -vm
-vmargs -os -ws and no luck. The linux box just hangs.
The solution was to run eclipse as a java class. The command I use is:
/usr/java/j2sdk1.4.2_08/bin/java -Xms100m -Xmx200m -verify -cp
/downloads/eclipse/startup.jar org.eclipse.core.launcher.Main -data
/downloads/eclipse/workspace -os linux -ws gtk
I have not figured out what is wrong when trying to run the eclipse
executable.
Cheers,
Fernando
|
|
|
Powered by
FUDForum. Page generated in 0.10617 seconds