For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 4 replies, 5 voices, and was last updated 20 years, 10 months ago by
Wayne Kidd.
-
AuthorPosts
-
kasturiranganrMemberHi,
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 ./eclipseI 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 600Command 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,
SharadSeptember 2, 2004 at 4:29 pm #214403
snpeMemberYou try call eclipse with any strange JDK (maybe gcj)
You have to download sun jdk 1.4.2eclipse 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
September 2, 2004 at 4:32 pm #214406
Riyad KallaMemberSharad,
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.December 8, 2004 at 11:54 am #220722
rgreathouseMemberI 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
December 9, 2004 at 10:14 am #220764
Wayne KiddMemberEclipse with Myeclipse needs the full JDK (not just the jre).
-
AuthorPosts