aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes eclipse 3.0 *error* launching Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "eclipse 3.0 *error* launching" Watch "eclipse 3.0 *error* launching" New topic
Author

eclipse 3.0 *error* launching

Jessica Ngui
Ranch Hand

Joined: Jul 24, 2004
Posts: 57
Hello,

Can someone please advise on the following error (Obtained from the log file):


!SESSION Jul 26, 2004 20:19:38.246 ---------------------------------------------
eclipse.buildId=I200406251208
java.version=1.3.0
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US

!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.

Thanks in advance..!


http://www.jessicajournal.com/
Tim West
Ranch Hand

Joined: Mar 15, 2004
Posts: 539
Eclipse 3 requires JDK1.4.*, so you'll need to upgrade.


--Tim
Jessica Ngui
Ranch Hand

Joined: Jul 24, 2004
Posts: 57
Hi Tim,

Thanks for the prompt reply. My eclipse 3.0 is now fully available..!
Praveen Kumar
Greenhorn

Joined: May 17, 2004
Posts: 15
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
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.

Any suggestions?

Thanks,

Rave.
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31054
    
162

"Rave",

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.

Thanks,
Jeanne
Forum Bartender


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Keith Kim
Greenhorn

Joined: Apr 16, 2004
Posts: 2
I'm having the same problem after installing Oracle client. I just removed the Oracle client, and now I'm getting different error:

JVM terminated. Exit code=3
C:\Program Files\Oracle\jre\1.3.1\bin\javaw.exe
....

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
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
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.

Good luck.
Kevin Nechodom
Greenhorn

Joined: Aug 13, 2004
Posts: 1
Here is the Answer from the Eclipse Bugzilla database.
Eclipse Bugzilla entry 29199

The answer is the same for Oracle 9i.

Add the -vm option to the call for Eclipse.exe, i.e.:
C:\Apps\Eclipse\Eclipse.exe -vm C:\Program Files\Java\j2re1.4.2_04\bin\javaw.exe

Then, all is right in the world.
[ August 13, 2004: Message edited by: Kevin Nechodom ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: eclipse 3.0 *error* launching