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 Eclipse Download 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 Download" Watch "Eclipse Download" New topic
Author

Eclipse Download

Mary Cole
Ranch Hand

Joined: Dec 02, 2000
Posts: 362
Hi,
Can yo ugimme the URL to get the latest version of Eclipse IDE. Every time I download and extract the zip file and then run the eclipse I am not able to strat the applicaion as it gives the fllowing error........

eclipse.buildId=N200406170010
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 Jun 20, 2004 19:09:33.299
!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:274)
at org.eclipse.core.runtime.adaptor.EclipseAdaptor.frameworkStart(EclipseAdaptor.java:255)
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:215)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:126)
at java.lang.reflect.Method.invoke(Native Method)
at org.eclipse.core.launcher.Main.basicRun(Main.java:186)
at org.eclipse.core.launcher.Main.run(Main.java:647)
at org.eclipse.core.launcher.Main.main(Main.java:631)

!ENTRY org.eclipse.osgi Jun 20, 2004 19:09:33.346
!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:799)
at org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBundles(EclipseStarter.java:428)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:221)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:126)
at java.lang.reflect.Method.invoke(Native Method)
at org.eclipse.core.launcher.Main.basicRun(Main.java:186)
at org.eclipse.core.launcher.Main.run(Main.java:647)
at org.eclipse.core.launcher.Main.main(Main.java:631)

!ENTRY org.eclipse.osgi Jun 20, 2004 19:09:33.346
!MESSAGE Bundle initial@reference:file:c:/eclipse1/eclipse/plugins/org.eclipse.core.runtime_3.0.0/ [1] was not resolved.


IS there any settings am missing OR the downloaded file is corrupted???

Thx in advance
Tim West
Ranch Hand

Joined: Mar 15, 2004
Posts: 539

java.version=1.3.1_01


If you look at the API for JDK1.3.1, there is no "javax.xml" package. Quite legitimately, Eclipse can't find classes in that package.

As a first attempt at fixing this, I'd get a newer JDK (1.4.2 works well with Eclipse) and try running Eclipse with that JDK.


-Tim
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
That's indeed the culprit. Eclipse (certainly the 3.0) requires a 1.4 JVM (though it can generate 1.3 classfiles) to be installed.

Haven't tried to run Eclipse 3 under Tiger, Eclipse 2 complained.


42
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Originally posted by Jeroen Wenting:
Haven't tried to run Eclipse 3 under Tiger, Eclipse 2 complained.


As far as I know, Eclipse 3 doesn't run reliably under Tiger yet.


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
John Jorgensen
Greenhorn

Joined: Jun 28, 2004
Posts: 5
I am also experiencing the above problem when I try to install Eclipse on Windows.

I have JDK 1.4.2_04 installed, but how do I get Eclipse to use this during installation?
nishant gupta
Greenhorn

Joined: Sep 11, 2003
Posts: 4
I had the same problem. I put the jdk1.4/bin in my system path [MyComputer->properties->advanced->system/env. variable], and it worked. I didnot need to restart the computer.
John Jorgensen
Greenhorn

Joined: Jun 28, 2004
Posts: 5
Thank you, thank you, thank you!

Yes, this was indeed the problem. For me I put C:\j2sdk1.4.2_04\bin at the beginning of the "Path" System Variable. and I took out

C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;

These two entries was put in earlier by the Oracle installer when I installed client libraries for the Oracle JDBC OCI drivers some time ago.

If I can make a suggestion then it would be that it may be an advantage for Eclipse to ask for the location of the 1.4 JDK during installation, then this would not have to be put in the System Path variable where it could easily conflict with other installations.

I have had this problem before when working with WebSphare and other products. At the time WebSpere was looking for JDK 1.8b and other products I had installed was using JDK 1.2. Needless to say these problems are often hard to troubleshoot and work around.

IntelliJ as an example will ask for where the JDK 1.4 is installed during installation.

Thanks, John
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
Oracle still overwriting Java installation settings without asking?
We reported that problem in their installers back in 1999...
Todd Farmer
Ranch Hand

Joined: May 28, 2004
Posts: 59
I had the same problem, and booting the Oracle entries back further in the PATH list worked wonderfully. Thanks!

Todd

SCJP
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eclipse Download