File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes  Error in starting Eclipse 3.0. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark " Error in starting Eclipse 3.0. " Watch " Error in starting Eclipse 3.0. " New topic
Author

Error in starting Eclipse 3.0.

sai Narayan
Greenhorn

Joined: Aug 16, 2004
Posts: 21
hi friends ,
i have downloaded eclipse-SDK-3.0.1-win32.zip from www.eclipse.org .then i extracted all the files and am trying to start eclipse but i am getting the following error Please Help:-

!SESSION Oct 20, 2004 15:55:55.359 ---------------------------------------------
eclipse.buildId=M200409161125
java.version=1.3.1_02
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US

!ENTRY org.eclipse.osgi Oct 20, 2004 15:55:55.359
!MESSAGE Error registering XML parser services.
!STACK 0
java.lang.ClassNotFoundException: javax.xml.parsers.SAXParserFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at org.eclipse.core.runtime.adaptor.EclipseAdaptor.registerEndorsedXMLParser(EclipseAdaptor.java:272)
at org.eclipse.core.runtime.adaptor.EclipseAdaptor.frameworkStart(EclipseAdaptor.java:253)
at org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start(SystemBundleActivator.java:61)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:958)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:954)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:937)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:553)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:477)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:273)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.launch(StartLevelManager.java:243)
at org.eclipse.osgi.framework.internal.core.SystemBundle.resume(SystemBundle.java:166)
at org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java:425)
at org.eclipse.osgi.framework.internal.core.OSGi.launch(OSGi.java:51)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:216)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:127)
at java.lang.reflect.Method.invoke(Native Method)
at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)

!ENTRY org.eclipse.osgi Oct 20, 2004 15:55:55.421
!MESSAGE Startup error
!STACK 1
java.lang.NoClassDefFoundError: org/xml/sax/helpers/DefaultHandler
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:493)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at org.eclipse.core.runtime.adaptor.PluginConverterImpl.parsePluginInfo(PluginConverterImpl.java:557)
at org.eclipse.core.runtime.adaptor.PluginConverterImpl.fillPluginInfo(PluginConverterImpl.java:111)
at org.eclipse.core.runtime.adaptor.PluginConverterImpl.convertManifest(PluginConverterImpl.java:660)
at org.eclipse.core.runtime.adaptor.EclipseBundleData.generateManifest(EclipseBundleData.java:233)
at org.eclipse.core.runtime.adaptor.EclipseBundleData.loadManifest(EclipseBundleData.java:191)
at org.eclipse.core.runtime.adaptor.EclipseBundleData.getManifest(EclipseBundleData.java:159)
at org.eclipse.core.runtime.adaptor.EclipseBundleData.loadFromManifest(EclipseBundleData.java:280)
at org.eclipse.osgi.framework.internal.defaultadaptor.DefaultBundleData.initializeNewBundle(DefaultBundleData.java:77)
at org.eclipse.osgi.framework.internal.defaultadaptor.DefaultAdaptor$1.begin(DefaultAdaptor.java:451)
at org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:746)
at org.eclipse.osgi.framework.internal.core.Framework$2.run(Framework.java:664)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:715)
at org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:659)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:219)
at org.eclipse.core.runtime.adaptor.EclipseStarter.installBundles(EclipseStarter.java:800)
at org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBundles(EclipseStarter.java:429)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:222)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:127)
at java.lang.reflect.Method.invoke(Native Method)
at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)

!ENTRY org.eclipse.osgi Oct 20, 2004 15:55:55.437
!MESSAGE Bundle initial@reference:file:c:/shanker/eclipse-SDK-3.0.1-win32/eclipse/plugins/org.eclipse.core.runtime_3.0.1/ [1] was not resolved.

thanks.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Moving to the IDE's forum...


GenRocket - Experts at Building Test Data
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

Eclipse 3 needs J2SDK 1.4 to run, but it looks as though you're starting it with J2SDK 1.3. The missing org.xml classes are going to be jjst one symptom of this problem. Upgrade your Java install and everything should be fine.


[Jess in Action][AskingGoodQuestions]
Kim Tan
Greenhorn

Joined: Nov 03, 2004
Posts: 1
Hi can some1 help me.
I have the exact error and i am using JDK 1.4.2_05
My eclipse version is 3.0.1

My Eclipse Version 2.1 does not have the above problem though, and they are on the same PC.

How i install, just unzip and double click on the Eclpise.exe to run it. Am i doing the right thing?
Irene Ackermann
Greenhorn

Joined: Nov 04, 2004
Posts: 1
Have a look at the path variable of your operating system environment. If you have several java versions installed the 1.4 has to be the first one of them in the path!
e.g. ...;C:\Program Files\j2sdk1_4_2_04\jre\lib;C:\Program Files\j2sdk1_4_2_04\bin;C:\Program Files\jdk1.3.1_08\bin;C:\Program Files\jdk1.3.1_08\jre\lib;...

(I presume Eclipse Version 2.1 runs on java 1.3 or below so the problem won't occur for it.)
[ November 04, 2004: Message edited by: Irene Ackermann ]
sai nukala
Greenhorn

Joined: Nov 23, 2004
Posts: 1
This is most common problem if you have installed Oracle or similar tools which add their JRE references to your path. As Java will use the first JRE it encounters, it might be picking 1.3 or other set by Oracle client.

Modify your path environment variable and add entry as:
SET path=C:\j2sdk1.4.2_03\jre\bin;%path%

where C:\j2sdk1.4.2_03 is my JAVA_HOME

This should fix the problem.
Sri Sankaran
Greenhorn

Joined: Nov 29, 2004
Posts: 1
You were dead on...I had installed Oracle client and had Eclipse running. Several hours later when I happened to re-start my machine I could not get Eclipse going with the mentioned error.

Thanks

Sri

Originally posted by sai nukala:
This is most common problem if you have installed Oracle or similar tools which add their JRE references to your path. As Java will use the first JRE it encounters, it might be picking 1.3 or other set by Oracle client.

Modify your path environment variable and add entry as:
SET path=C:\j2sdk1.4.2_03\jre\bin;%path%

where C:\j2sdk1.4.2_03 is my JAVA_HOME

This should fix the problem.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error in starting Eclipse 3.0.
 
Similar Threads
trouble installing and running eclipse
eclipse errors
Eclipse Download
How can I upgrade Eclipse SDK for WSAD 5.1.2?
eclipse 3.0 *error* launching