!ENTRY org.eclipse.osgi Jul 26, 2004 20:19:38.246 !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.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:183) at org.eclipse.core.launcher.Main.run(Main.java:644) at org.eclipse.core.launcher.Main.main(Main.java:628)
!ENTRY org.eclipse.osgi Jul 26, 2004 20:19:38.486 !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.parsePluginInfo(PluginConverterImpl.java:552) at org.eclipse.core.runtime.adaptor.PluginConverterImpl.fillPluginInfo(PluginConverterImpl.java:111) at org.eclipse.core.runtime.adaptor.PluginConverterImpl.convertManifest(PluginConverterImpl.java:655) at org.eclipse.core.runtime.adaptor.EclipseBundleData.generateManifest(EclipseBundleData.java:219) at org.eclipse.core.runtime.adaptor.EclipseBundleData.loadManifest(EclipseBundleData.java:177) at org.eclipse.core.runtime.adaptor.EclipseBundleData.getManifest(EclipseBundleData.java:159) at org.eclipse.core.runtime.adaptor.EclipseBundleData.loadFromManifest(EclipseBundleData.java:266) 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:183) at org.eclipse.core.launcher.Main.run(Main.java:644) at org.eclipse.core.launcher.Main.main(Main.java:628)
!ENTRY org.eclipse.osgi Jul 26, 2004 20:19:38.537
The eclipse app couldn't be launched. J2SE version 1.3 is used in the current environment.
Eclipse 3 requires JDK1.4.*, so you'll need to upgrade.
--Tim
Jessica Ngui
Ranch Hand
Joined: Jul 24, 2004
Posts: 57
posted
0
Hi Tim,
Thanks for the prompt reply. My eclipse 3.0 is now fully available..!
Praveen Kumar
Greenhorn
Joined: May 17, 2004
Posts: 15
posted
0
Hello All,
I have j2sdk1.4.2_03 and I verified JAVA_HOME is set to it. I am still getting this error when I try to launch eclipse 3.0.
The funny part is I had been working on 3.0 for more than a week now and I installed oracle client today and from then on I am not able to launch eclipse.
Can anybody help?
Thanks,
Rave.
Gosh ! Darn it.
Praveen Kumar
Greenhorn
Joined: May 17, 2004
Posts: 15
posted
0
Fixed it partly....
In the shortcut to launch eclipse, I added the java_home\bin\java.exe and it worked.
Although it launches eclipse it also starts a dos window and I hate that. Anybody knows a workaround? Why is it not able to read the path? I verified the path and there are no spaces or hypens or weird stuff like that.
We're pleased to have you here with us in the IDEs forum, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.
In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.
so on. I'm using Eclipse 3.0, Win XP pro, Java 1.4.2_04. It looks like Oracle client messed up something. I'll post follow up if I fix this. Btw, re-installing eclipse did not help.
Bharat Ruparel
Ranch Hand
Joined: Jul 30, 2003
Posts: 493
posted
0
Hello Keith/Kim, Please check your path statement. It looks like Oracle Client installs a previous version of JRE and puts it ahead of the JDK in your PATH environment variable. Once you reset it, you should be fine. Off course, whether your Oracle Client works fine or not is yet another story. Regards. Bharat
SCJP,SCJD,SCWCD,SCBCD,SCDJWS,SCEA
Keith Kim
Greenhorn
Joined: Apr 16, 2004
Posts: 2
posted
0
Tried a few things and it finally worked. To be honest, I'm not sure what fixed this problem since I tried a few things. Here is what I did:
Uninstalling and reinstalling JSDK didn't help. Restarting didn't either. I uninstalled Oracle client and its installer. Didn't help either. And then removed some entries from registry:
key= My Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment My Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Control\Session Manager\Environment
Both of them had "C:\Program Files\Oracle\jre\1.3.1\bin;......" in Path value. I only removed this oracle jre portion. And then logged out, and logged back in as local machine Administrator, executed the same eclipse copy. And it worked! So I logged out and logged back in as a normal user, and started eclipse, and it worked, except it ask for workspace location again, and complained that it can't load layout. But after that everything is back to normal.
So, try to log on as Administrator and run eclipse, and then log back on as a normal user and run it. If that doesn't work, remove the registry keys I removed. (But I'm not responsible for anything...) And if it still doesn't work, do the things that I did in reverse.