LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-02-2004, 01:52 PM   #1
kasturiranganr
LQ Newbie
 
Registered: Sep 2004
Posts: 4

Rep: Reputation: 0
Problem running Eclipse 3.0 on RedHat Linux 9.0


Hi,

I recently installed RedHat Linux 9 on my PC. I have installed it as a server. I have a problem running Eclipse 3.0 on it. I am outlining below the steps I used to install Eclipse and have also pasted the error messages at the end.

1. Downloaded Eclipse 3.0 (eclipse-SDK-3.0M5-linux-gtk.zip)
2. Unzipped it using "unzip eclipse-SDK-3.0M5-linux-gtk.zip"
3. Changed to the /eclipse directory
4. Ran eclipse using ./eclipse

I get two error messages. One appears in a dialog box and the other on the command screen.

Dialog box error message
----------------------------------

JVM terminated. Exit code=1
/usr/bin/java
-cp /usr/local/eclipse/./startup.jar org.eclipse.core.launcher.Main
-os linux
-ws gtk
-arch x86
-showsplash /usr/local/eclipse/./eclipse -showsplash 600

Command Screen error message
---------------------------------------------

Warning: -os not understood. Ignoring.
Warning: -ws not understood. Ignoring.
Warning: -arch not understood. Ignoring.
Warning: -showsplash not understood. Ignoring.
Exception in thread "main" java.lang.InternalError: unexpected exception during linking: java.lang.ClassNotFoundException: java.nio.channels.FileChannel
at 0x40268e17: java.lang.Throwable.Throwable(java.lang.String) (/usr/lib/./libgcj.so.3)
at 0x4025bc8e: java.lang.Error.Error(java.lang.String) (/usr/lib/./libgcj.so.3)
at 0x402691fa: java.lang.VirtualMachineError.VirtualMachineError(java.lang.String) (/usr/lib/./libgcj.so.3)
at 0x4025d62e: java.lang.InternalError.InternalError(java.lang.String) (/usr/lib/./libgcj.so.3)
at 0x4025ad82: java.lang.ClassLoader.resolveClass0(java.lang.Class) (/usr/lib/./libgcj.so.3)
at 0x4024646c: java.lang.Class.initializeClass() (/usr/lib/./libgcj.so.3)
at 0x40244d04: java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/./libgcj.so.3)
at 0x40244d9f: java.lang.Class.forName(java.lang.String) (/usr/lib/./libgcj.so.3)
at 0x402ad01d: gnu.gcj.runtime.FirstThread.run() (/usr/lib/./libgcj.so.3)
at 0x4024fc4c: _Jv_ThreadRun(java.lang.Thread) (/usr/lib/./libgcj.so.3)
at 0x4021c8ac: _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/./libgcj.so.3)
at 0x08048910: ?? (??:0)
at 0x42015704: __libc_start_main (/lib/tls/libc.so.6)
at 0x080486c1: ?? (??:0)


Is this a problem of me not having the right libraries. I am a complete novice in Linux. Any help is appreciated

Thanks,
Sharad
 
Old 09-02-2004, 02:51 PM   #2
bobwall
Member
 
Registered: Jul 2004
Location: Milpitas, California
Distribution: 1/2 Debian 1/2 my own
Posts: 189

Rep: Reputation: 30
It looks like you're running Eclipse with gcj/gij instead of Sun's java implementation. Eclipse might need a different setup to work with gcj. See http://klomp.org/mark/gij_eclipse/
 
Old 09-02-2004, 03:09 PM   #3
kasturiranganr
LQ Newbie
 
Registered: Sep 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks Bob, I will check it out

My previous machine was running Eclipse (successfully) on Mandrake Linux 9.2

Just out of curiosity, do you think whatever you just suggested would have been required on Mandrake too?.

I am new to this project, and dont know how Eclipse was setup on Mandrake. Hence the question.

Thanks,
Sharad
 
Old 09-02-2004, 03:14 PM   #4
bobwall
Member
 
Registered: Jul 2004
Location: Milpitas, California
Distribution: 1/2 Debian 1/2 my own
Posts: 189

Rep: Reputation: 30
No, I don't know anything about eclipse other that I'm going be using it this year in my software design class here at UVA. The only thing that caught my attention was gcj in the error messages. I've been trying to purge my computer of all gcj related files ever since I made the mistake of building gcc with all frontends included. I'm using a lot of advanced features of Java for a project (i.e. JNI and native OpenGL calls) and gcj just doesn't cut it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem running Eclipse with gij lvella Linux - Software 2 05-11-2005 03:30 PM
Problem using eclipse on Linux via XWindow s.y.crompton Linux - General 0 04-21-2005 10:14 AM
Eclipse SDK v3.0 running problem: "Permission denied" AlexDunnCpp Linux - Newbie 1 08-03-2004 11:45 AM
problem running Eclipse 2.1 on mandrake 9.2 nurien Linux - Software 3 01-08-2004 04:30 AM
Problem running pppd on Redhat Linux EL 3.0 brianvdc Linux - Software 0 12-10-2003 05:14 PM


All times are GMT -5. The time now is 02:48 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration