Eclipse won't start up [message #42995] |
Tue, 29 March 2005 13:21  |
Eclipse User |
|
|
|
Originally posted by: lcole.ball.com
I'm new to using Eclipse and just downloaded it. I'm getting this error:
!SESSION Mar 29, 2005 13:04:41.980
---------------------------------------------
eclipse.buildId=M200503110845
java.version=1.3.1_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
!ENTRY org.eclipse.osgi Mar 29, 2005 13:04:41.980
!MESSAGE Error registering XML parser services.
!STACK 0
java.lang.ClassNotFoundException: javax.xml.parsers.SAXParserFactory
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
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 29, 2005 13:04:42.42
!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(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
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 29, 2005 13:04:42.58
!MESSAGE Bundle
initial@reference :file:c:/eclipse/eclipse/plugins/org.eclipse.core.runtime_3. 0.2/
[1] was not resolved.
I have Java SDK 1.5_02 installed on my machine.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Eclipse won't start up [message #44285 is a reply to message #44039] |
Thu, 31 March 2005 09:54   |
Eclipse User |
|
|
|
Originally posted by: jeremydyoung.sbcglobal.SPAM.ME.NOT.net
Setting up Java on windows is somewhat separate from Eclipse, but can be
confusing.
There are three Environment Variables that I suggest investigating. You
can modify these temporarily from a command prompt, but you can modify
them "permanently" from the System Properties. (If you need help
finding them, please let me know)
The three variables I suggest working with are these:
JAVA_HOME
PATH
CLASSPATH
JAVA_HOME should be set to the directory where java is installed, which
looks like this for you: c:\j2sdk1.4.2_07
Next, the PATH variable should have all other JRE's and JDK's removed
from it and this put in instead (at the beginning of your path to make
sure it overrides anything you missed):
%JAVA_HOME%\bin;(rest of your path)
Finally, this is something that gets tons of people, the CLASSPATH
variable in windows should be at minimum this (which is exactly what
mine looks like):
..
If there are other values in the CLASSPATH then make sure .;(others) is
the way it looks.
When you pull up your command prompt you can type SET<enter> and it will
list all of your environment variables.
*NOTE* The Variables like %JAVA_HOME% will be expanded; This is how your
path variable should look:
PATH=c:\j2sdk1.4.2_07\bin;(plus others)
or it's not right
With this configuration, I can type eclipse when I'm in the eclipse
directory, and it loads successfully.
Good luck! Feel free to keep asking if you're having trouble.
Lisa wrote:
> Thanks very much for trying to help me out, I appreciate it. I'm about
> to give up. I didn't think it'd be this difficult.
|
|
|
|
|
|
|
Re: Eclipse won't start up [message #47508 is a reply to message #44472] |
Tue, 05 April 2005 10:23  |
Eclipse User |
|
|
|
Originally posted by: lcole.ball.com
Thank you each and every one of you for your help in getting Eclipse
up-and-running. I appreciate it.
I'm now good and have it running. I deleted the installation and decided
to unzip the install again and set it up.
Thanks,
Lisa
|
|
|
Powered by
FUDForum. Page generated in 0.16306 seconds