Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Redhat / Fedora Linux Help > Installing Eclipse Java IDE

Forgot Password?
 Redhat / Fedora Linux Help   Help and discussion related to Redhat and Fedora Linux.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 01-27-2005   #1 (permalink)
Just Joined!
 
Join Date: Jan 2005
Location: Sheffield, UK
Posts: 17
Installing Eclipse Java IDE

Hi everyone,

I'm a newbie to this forum, and also to Linux, so excuse my ignorance.

I've recently installed Fedora 3 on a PC that was formerly Windows, and I've been reasonably happy with it so far. The installation went fine, and the only problem that I've had so far is installing the Eclipse Java IDE 3.0.1

I've downloaded the file from the www.eclipse.org site in the root account, in a .zip format. I selected the "x86 GTK2" option as that was specified for a Intel PC with Red Hat. I then unzipped the file to a folder just off the root directory, and tried clicking on the eclipse cog icon to start up the program. I also unzipped the "startup.jar" file to a subdirectory of the unzipped eclipse folder.

When I clicked on the cog icon to start Eclipse, a error dialog appeared, referring me to a log file in the configuration subdirectory. In it's entirety, this log file said:

!SESSION Jan 26, 2005 20:56:37.134 ---------------------------------------------
eclipse.buildId=M200409161125
java.fullversion=GNU libgcj 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US

!ENTRY org.eclipse.osgi Jan 26, 2005 20:56:37.134
!MESSAGE Startup error
!STACK 1
java.lang.NoClassDefFoundError: while resolving class: org.eclipse.core.runtime.adaptor.EclipseAdaptor
at java.lang.VMClassLoader.resolveClass(java.lang.Cla ss) (/usr/lib/libgcj.so.5.0.0)
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)
at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
at java.lang.Class.forName(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
at org.eclipse.core.runtime.adaptor.EclipseStarter.cr eateAdaptor() (Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.st artup(java.lang.String[], java.lang.Runnable) (Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(java.lang.String[], java.lang.Runnable) (Unknown Source)
at _Jv_CallAnyMethodA(java.lang.Object, java.lang.Class, _Jv_Method, boolean, boolean, java.lang.Class[], jvalue, jvalue, boolean) (/usr/lib/libgcj.so.5.0.0)
at _Jv_CallAnyMethodA(java.lang.Object, java.lang.Class, _Jv_Method, boolean, java.lang.Class[], java.lang.Object[]) (/usr/lib/libgcj.so.5.0.0)
at java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (/usr/lib/libgcj.so.5.0.0)
at org.eclipse.core.launcher.Main.basicRun(java.lang. String[]) (Unknown Source)
at org.eclipse.core.launcher.Main.run(java.lang.Strin g[]) (Unknown Source)
at org.eclipse.core.launcher.Main.main(java.lang.Stri ng[]) (Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.xml.sax.helpers.DefaultHandler not found in [file:/root/eclipse/plugins/org.eclipse.osgi_3.0.1/core.jar, file:/root/eclipse/plugins/org.eclipse.osgi_3.0.1/console.jar, file:/root/eclipse/plugins/org.eclipse.osgi_3.0.1/osgi.jar, file:/root/eclipse/plugins/org.eclipse.osgi_3.0.1/resolver.jar, file:/root/eclipse/plugins/org.eclipse.osgi_3.0.1/defaultAdaptor.jar, file:/root/eclipse/plugins/org.eclipse.osgi_3.0.1/eclipseAdaptor.jar]
at java.net.URLClassLoader.findClass(java.lang.String ) (/usr/lib/libgcj.so.5.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.5.0.0)
at _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
at _Jv_ClassReader.handleClassBegin(int, int, int) (/usr/lib/libgcj.so.5.0.0)
at _Jv_ClassReader.parse() (/usr/lib/libgcj.so.5.0.0)
at _Jv_DefineClass(java.lang.Class, byte[], int, int) (/usr/lib/libgcj.so.5.0.0)
at java.lang.VMClassLoader.defineClass(java.lang.Clas sLoader, java.lang.String, byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.5.0.0)
at java.lang.ClassLoader.defineClass(java.lang.String , byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.5.0.0)
at java.security.SecureClassLoader.defineClass(java.l ang.String, byte[], int, int, java.security.CodeSource) (/usr/lib/libgcj.so.5.0.0)
at java.net.URLClassLoader.findClass(java.lang.String ) (/usr/lib/libgcj.so.5.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.5.0.0)
at _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
at _Jv_PrepareCompiledClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
at _Jv_WaitForState(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
at java.lang.VMClassLoader.linkClass0(java.lang.Class ) (/usr/lib/libgcj.so.5.0.0)
at java.lang.VMClassLoader.resolveClass(java.lang.Cla ss) (/usr/lib/libgcj.so.5.0.0)
...12 more
!SESSION Wed Jan 26 20:56:37 GMT-01:00 2005 ------------------------------------
!ENTRY org.eclipse.core.launcher 4 0 Jan 26, 2005 20:56:37.221
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.NullPointerException
at _Jv_CallAnyMethodA(java.lang.Object, java.lang.Class, _Jv_Method, boolean, boolean, java.lang.Class[], jvalue, jvalue, boolean) (/usr/lib/libgcj.so.5.0.0)
at _Jv_CallAnyMethodA(java.lang.Object, java.lang.Class, _Jv_Method, boolean, java.lang.Class[], java.lang.Object[]) (/usr/lib/libgcj.so.5.0.0)
at java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (/usr/lib/libgcj.so.5.0.0)
at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(java.lang.String[], java.lang.Runnable) (Unknown Source)
at org.eclipse.core.launcher.Main.basicRun(java.lang. String[]) (Unknown Source)
at org.eclipse.core.launcher.Main.run(java.lang.Strin g[]) (Unknown Source)
at gnu.gcj.runtime.FirstThread.call_main() (/usr/lib/libgcj.so.5.0.0)
at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.5.0.0)
at __gcj_personality_v0 (/root/eclipse/java.home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre)
at __libc_start_main (/lib/tls/libc-2.3.3.so)
at _Jv_RegisterClasses (/root/eclipse/java.home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre)


I know that I have Java on my machine because I am able to use it fine from the command line.

Any ideas? Is this a common problem when trying to install Eclipse in Fedora? Once again, apologies for my ignorance, I am a Linux newbie.

Thanks
Daley is offline  


Reply With Quote
Old 01-27-2005   #2 (permalink)
Linux Engineer
 
Join Date: Nov 2004
Location: Montreal, Canada
Posts: 1,271
Quote:
I know that I have Java on my machine because I am able to use it fine from the command line.
Simply to make sure, Did you install the last version of JRE?
Here TO dload
Here TO Instruction
__________________
\"Meditative mind\'s is like a vast ocean... whatever strikes the surface, the bottom stays calm\" - Dalai Lama
\"Competition ultimatly comes down to one thing... a loser and a winner.\" - Ugo Deschamps
UgoDeschamps is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 05:55 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2