facebook

New to Eclipse

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #225341 Reply

    Hi everybody. I’m new to the Java World. Finally moved from “Big Giant Microsoft”.

    My environment is as follows:
    Oracle 9i
    JSDK SE 1.3.13
    JSDK SE 1.4.2.06
    Eclipse
    My Eclipse
    Tomcat 5.0.28

    I’ve been struggling a lot with Oracle and finally I have it going. I removed Eclipse, My Eclipse, Tomcate and all JSDK and JRE’s to continue installing Oracle.

    Finally I got a connection. I re-installed JSDK 1.3 and 1.4, Tomcat, Eclipse and My Eclipse. When I try to open Eclipse or My Eclipse I get the following error:

    CAN SOMEBODY HELP. IM through MSN prconklin@msn.com

    !SESSION Feb 17, 2005 08:57:59.569 ———————————————
    eclipse.buildId=M200409161125
    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 Feb 17, 2005 08:57:59.569
    !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: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 Feb 17, 2005 08:57:59.867
    !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:557)
    at org.eclipse.core.runtime.adaptor.PluginConverterImpl.fillPluginInfo(PluginConverterImpl.java:111)
    at org.eclipse.core.runtime.adaptor.PluginConverterImpl.convertManifest(PluginConverterImpl.java:660)
    at org.eclipse.core.runtime.adaptor.EclipseBundleData.generateManifest(EclipseBundleData.java:233)
    at org.eclipse.core.runtime.adaptor.EclipseBundleData.loadManifest(EclipseBundleData.java:191)
    at org.eclipse.core.runtime.adaptor.EclipseBundleData.getManifest(EclipseBundleData.java:159)
    at org.eclipse.core.runtime.adaptor.EclipseBundleData.loadFromManifest(EclipseBundleData.java:280)
    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: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 Feb 17, 2005 08:57:59.882
    !MESSAGE Bundle initial@reference:file:c:/eclipse/plugins/org.eclipse.core.runtime_3.0.1/ [1] was not resolved.

    #225343

    Riyad Kalla
    Member

    Good news, this is an easy one, from this part of your log (thank you for posting it):

    !SESSION Feb 17, 2005 08:57:59.569 ———————————————
    eclipse.buildId=M200409161125
    java.version=1.3.1_01
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US

    It looks like Eclipse is picking up the 1.3.x JRE to run with, but it needs JRE 1.4+ to run, so all you need to do is create or edit the shortcut you are using to start Eclipse, and add a -vm argument to it to point to the actual javaw.exe executable that you want it to run:

    
    eclipse.exe -vm c:\j2sdk1.4.2_06\bin\javaw.exe -vmargs -Xmx256m
    

    The -vmargs allows Eclipse’s heap to be up to 256meg, which is recommended.

    #225346

    After doing a test on the C prompt.

    It tells me it needed the VM, so I pointed to C:\Program Files\Java\j2re1.4.2_06\bin\javaw.exe

    I left the MB to 512 as in the prompt of the path.

    Please tell me if this is going to be a problem with development down the road.

    #225347

    Riyad Kalla
    Member

    It tells me it needed the VM, so I pointed to C:\Program Files\Java\j2re1.4.2_06\bin\javaw.exe

    This will launch Eclipse, but MyEclipse needs you to point to a JDK install, like my example above, so it can find the javac executable in order to validate the JSP pages you work on.

    I left the MB to 512 as in the prompt of the path.

    Even better

    Please tell me if this is going to be a problem with development down the road.

    Which part were you concerned with?

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: New to Eclipse

You must be logged in to post in the forum log in