ECLIPSE can't start [message #31245] |
Wed, 09 March 2005 14:18  |
Eclipse User |
|
|
|
Originally posted by: rlu.ckconsultants.net
Please help to start eclipse
I can't start eclipse in Windows 2000 with following error:
!SESSION Mar 09, 2005 13:32:54.380
---------------------------------------------
eclipse.buildId=M200409161125
java.version=1.3.0_02
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
!ENTRY org.eclipse.osgi Mar 09, 2005 13:32:54.380
!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:297)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313 )
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at
org.eclipse.core.runtime.adaptor.EclipseAdaptor.registerEndo rsedXMLParser(EclipseAdaptor.java:272)
at
org.eclipse.core.runtime.adaptor.EclipseAdaptor.frameworkSta rt(EclipseAdaptor.java:253)
at
org.eclipse.osgi.framework.internal.core.SystemBundleActivat or.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.s tartActivator(BundleContextImpl.java:954)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:937)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:553)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:477)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:273)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.l aunch(StartLevelManager.java:243)
at
org.eclipse.osgi.framework.internal.core.SystemBundle.resume (SystemBundle.java:166)
at
org.eclipse.osgi.framework.internal.core.Framework.launch(Fr amework.java:425)
at org.eclipse.osgi.framework.internal.core.OSGi.launch(OSGi.ja va:51)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.startup(Ecli pseStarter.java:216)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.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 Mar 09, 2005 13:32:54.511
!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:486)
at java.security.SecureClassLoader.defineClass(SecureClassLoade r.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:297)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313 )
at
org.eclipse.core.runtime.adaptor.PluginConverterImpl.parsePl uginInfo(PluginConverterImpl.java:557)
at
org.eclipse.core.runtime.adaptor.PluginConverterImpl.fillPlu ginInfo(PluginConverterImpl.java:111)
at
org.eclipse.core.runtime.adaptor.PluginConverterImpl.convert Manifest(PluginConverterImpl.java:660)
at
org.eclipse.core.runtime.adaptor.EclipseBundleData.generateM anifest(EclipseBundleData.java:233)
at
org.eclipse.core.runtime.adaptor.EclipseBundleData.loadManif est(EclipseBundleData.java:191)
at
org.eclipse.core.runtime.adaptor.EclipseBundleData.getManife st(EclipseBundleData.java:159)
at
org.eclipse.core.runtime.adaptor.EclipseBundleData.loadFromM anifest(EclipseBundleData.java:280)
at
org.eclipse.osgi.framework.internal.defaultadaptor.DefaultBu ndleData.initializeNewBundle(DefaultBundleData.java:77)
at
org.eclipse.osgi.framework.internal.defaultadaptor.DefaultAd aptor$1.begin(DefaultAdaptor.java:451)
at
org.eclipse.osgi.framework.internal.core.Framework.installWo rkerPrivileged(Framework.java:746)
at
org.eclipse.osgi.framework.internal.core.Framework$2.run(Fra mework.java:664)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.Framework.installWo rker(Framework.java:715)
at
org.eclipse.osgi.framework.internal.core.Framework.installBu ndle(Framework.java:659)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.i nstallBundle(BundleContextImpl.java:219)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.installBundl es(EclipseStarter.java:800)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBun dles(EclipseStarter.java:429)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.startup(Ecli pseStarter.java:222)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.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 Mar 09, 2005 13:32:54.521
!MESSAGE Bundle
initial@reference :file:d:/downloads/eclips/eclipse/plugins/org.eclipse.core.r untime_3.0.1/
[1] was not resolved.
|
|
|
|
|
|
|
|
|
|
|
|
Re: ECLIPSE can't start - won't start even with the JAVA_HOME variable set [message #36442 is a reply to message #35485] |
Thu, 17 March 2005 01:11  |
Eclipse User |
|
|
|
One final note. I made vm 1.4 my first entery in the Environment
Variables' system PATH (not the user PATH)and it works. I no longer use
the "bat" file.
Amir Askari wrote:
> Thank you all for resolving this newcomers problem. Could not make the
> ini file work but creating a bat file with the same content suggested
> below worked like a charm.
> My problem started when the system instructed me to install Javasofts
> plugins in order to display the Clock applet on Tomcats plugin example.
> This brought in 1.2.2 jre version and point the system to it. The
> JAVA_HOME and CLASSPATH are both pointing to 1.4, so it is not them. What
> else could it be?????
> To get around the problem, I created a file named eclipse.bat in the
> same folder as eclipse.exe with the following line, eclipse -vm
> C:/Sun/J2EE/jdk/bin/javaw.exe. Created a shortcut for and put it on my
> desktop. WORKS GREAT!!!
> I thank you all again.
> Regards.
> aa.
> Srini Veerapaneni wrote:
>> Chris Laffra wrote:
>>> create a file called "eclipse.ini" and put it next to "eclipse.exe".
>>> In the file add the -vm command. It will be used each time eclipse starts.
>>> I think this was added in 3.1M4, so you may need to get a recent drop.
>> Still no luck. I tried the -vm in an ini file but it doesn't seem to pick
>> it up. I downloaded this latest Eclipse SDK on Tuesday so I'm pretty sure
>> I have the latest. I'm using the shortcut on my computer to get the job
>> done for now. This is bizarre as I was able to use eclipse without any
>> problem at my old job and I installed it several times there. My OS here
>> is Win 2000. That shouldn't make a difference, should it?
|
|
|
Powered by
FUDForum. Page generated in 0.14741 seconds