facebook

Problem starting Eclipse 3.0 on RedHat Linux 9 [Closed]

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #214396 Reply

    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 bug with Eclipse?. Any help is appreciated

    Thanks,
    Sharad

    #214403

    snpe
    Member

    You try call eclipse with any strange JDK (maybe gcj)
    You have to download sun jdk 1.4.2

    eclipse 3.0M5 is old and it will not work with new myeclipse – you download
    eclipse 3.0 final or (better) last M release (3.0.1)

    regards

    #214406

    Riyad Kalla
    Member

    Sharad,
    snpe is likely correct, type “which java” and “java -version” to figure out what Eclipse was trying to use to run itself, likely an open source impl of Java. You need IBM or Sun’s JRE/JDK to run Eclipse.

    #220722

    rgreathouse
    Member

    I am having the same problem. I traced it to the script file /usr/bin/java. It is pointing at java 1.3 and appears to be hardcoded.

    Eventhough I have installed jre 1.4.2_06 this script is called by eclipse and load 1.3.

    I am now figuring out how to edit it to JAVA_HOME which is the 1.4 installation

    #220764

    Wayne Kidd
    Member

    Eclipse with Myeclipse needs the full JDK (not just the jre).

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Problem starting Eclipse 3.0 on RedHat Linux 9 [Closed]

You must be logged in to post in the forum log in