facebook

Starting up Eclipse on Solaris

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #225651 Reply

    rodericj
    Member

    I am having a bit of trouble running eclipse after an install and I do not know where to turn.

    I run eclipse and I get the following error in configuration/xxxxxxxxxxxx.log

    
    !SESSION Feb 23, 2005 20:20:10.65 ----------------------------------------------
    eclipse.buildId=M200409161125
    java.version=1.2.2
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=solaris, ARCH=sparc, WS=motif, NL=en
    
    !ENTRY System Bundle 0 0 Feb 23, 2005 20:20:10.65
    !MESSAGE FrameworkEvent.ERROR
    !STACK 0
    org.osgi.framework.BundleException: Exception in org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start() of bundle org.ecl
    ipse.osgi.
            at java.lang.Throwable.fillInStackTrace(Native Method)
            at java.lang.Throwable.fillInStackTrace(Compiled Code)
            at java.lang.Throwable.<init>(Compiled Code)
            at java.lang.Exception.<init>(Exception.java:35)
            at org.osgi.framework.BundleException.<init>(BundleException.java:59)
            at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:975)
            at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:937)
            at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(Compiled Code)
            at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:477)
            at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(Compiled Code)
            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(Compiled Code)
            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)
    Root exception:
    java.lang.NoSuchMethodError: java.net.URL: method getPath()Ljava/lang/String; not found
            at org.eclipse.osgi.framework.adaptor.core.BundleResourceHandler.parseURL(Compiled Code)
            at java.net.URL.<init>(Compiled Code)
            at org.eclipse.osgi.framework.adaptor.core.AbstractBundleData.getEntry(AbstractBundleData.java:163)
            at org.eclipse.osgi.framework.internal.core.AbstractBundle.getEntry(AbstractBundle.java:1362)
            at org.eclipse.osgi.framework.internal.core.ManifestLocalization.findInBundle(ManifestLocalization.java:167)
            at org.eclipse.osgi.framework.internal.core.ManifestLocalization.findInResolved(ManifestLocalization.java:160)
            at org.eclipse.osgi.framework.internal.core.ManifestLocalization.findResource(ManifestLocalization.java:152)
            at org.eclipse.osgi.framework.internal.core.ManifestLocalization.getResourceBundle(Compiled Code)
            at org.eclipse.osgi.framework.internal.core.ManifestLocalization.getHeaders(Compiled Code)
            at org.eclipse.osgi.framework.internal.core.AbstractBundle.getHeaders(AbstractBundle.java:1032)
            at org.eclipse.osgi.framework.internal.core.AbstractBundle.getHeaders(AbstractBundle.java:982)
            at org.eclipse.osgi.framework.internal.core.SystemBundleActivator.register(SystemBundleActivator.java:97)
            at org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start(SystemBundleActivator.java:44)
            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.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(Compiled Code)
            at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:477)
            at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(Compiled Code)
            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(Compiled Code)
            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 23, 2005 20:20:10.69
    !MESSAGE Startup error
    !STACK 1
    java.lang.RuntimeException: Exception in org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start() of bundle org.eclipse.osg
    i.
            at java.lang.Throwable.fillInStackTrace(Native Method)
            at java.lang.Throwable.fillInStackTrace(Compiled Code)
            at java.lang.Throwable.<init>(Compiled Code)
            at java.lang.Exception.<init>(Compiled Code)
            at java.lang.RuntimeException.<init>(Compiled Code)
            at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(Compiled Code)
            at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:477)
            at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(Compiled Code)
            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(Compiled Code)
            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)
    !SESSION Wed Feb 23 20:20:10 GMT 2005 ------------------------------------------
    !ENTRY org.eclipse.core.launcher 4 0 Feb 23, 2005 20:20:10.70
    !MESSAGE Exception launching the Eclipse Platform:
    !STACK
    java.lang.NullPointerException
            at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Compiled Code)
            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)
    

    I looked at some documentation and it said that it is a good idea to specify the vm. I did this and it looks like eclipse tries to use -cp as a command line argument. This caused javah to complain. I am a bit stuck here.

    Comments?

    #225685 Reply

    Riyad Kalla
    Member

    !SESSION Feb 23, 2005 20:20:10.65 ———————————————-
    eclipse.buildId=M200409161125
    java.version=1.2.2
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=solaris, ARCH=sparc, WS=motif, NL=en

    Using Java 1.2 is likely your problem, I noticed the exception above in the signature of the URL class, I believe you need to be using atleast Java 1.3 to run Eclipse 2.x

    I looked at some documentation and it said that it is a good idea to specify the vm. I did this and it looks like eclipse tries to use -cp as a command line argument.

    What is the entire command line argument you are using to start Eclipse? I think you might be using it incorrectly.

    ALSO, where do you have Java 1.3+ installed on your system? (Not Java 1.2)

    #225957 Reply

    rodericj
    Member

    I got it to work. There was a newer version of Java installed on the system. Once I pointed the -vm to that location everything was fine.

    Thanks.

    #225962 Reply

    Riyad Kalla
    Member

    Thank you for the followup, I’m glad it is working now.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Starting up Eclipse on Solaris

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