Announcement

Collapse
No announcement yet.

Eclipse Europa

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Eclipse Europa

    Hi,

    I downloaded Eclipse Europa but can't launch it, I'm getting this error:
    "Version 1.4.2-02 of the JVM is not suitable for this product. Version: 1.5 or greater is required"
    I've downloaded and installed the latest JRE(jre1.6.0_05) with the instructions on: http://www.java.com/en/download/help...selfextracting
    but for some reason i'm still getting above error msg,

    Any hints?

    Thanks!
    Ron
    roN

    http://www.inetgate.biz

    #2
    Re: Eclipse Europa

    remove the java files you installed manually.

    make sure "multiverse" be enabled in your package manager.

    use your package manager (or apt-get from command line)
    to install sun-java5-jdk and/or sun-java6-jdk from the repositories.

    the installation procedure will update all the necessary links
    so that your system can work properly.

    hope this works.
    gnu/linux is not windoze

    Comment


      #3
      Re: Eclipse Europa

      Originally posted by jankushka
      remove the java files you installed manually.

      make sure "multiverse" be enabled in your package manager.
      Is enabled
      Originally posted by jankushka
      use your package manager (or apt-get from command line)
      to install sun-java5-jdk and/or sun-java6-jdk from the repositories.

      the installation procedure will update all the necessary links
      so that your system can work properly.

      hope this works.
      I have reinstalled both, version 5 and 6 but still get "Version 1.4.2-02 of the JVM is not suitable for this product. Version: 1.5 or greater is required." and worsde: now i can't even launch my "old" eclipse version 3.2 anymore, in ~/.metdata/.log i get following:

      !SESSION 2008-04-08 13:37:21.727 -----------------------------------------------
      eclipse.buildId=M20070212-1330
      java.version=1.6.0_03
      java.vendor=Sun Microsystems Inc.
      BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_CA
      Command-line arguments: -os linux -ws gtk -arch x86

      !ENTRY org.eclipse.osgi 2 1 2008-04-08 13:37:31.041
      !MESSAGE NLS missing message: initializer_error in: org.eclipse.core.internal.runtime.messages

      !ENTRY org.eclipse.osgi 2 1 2008-04-08 13:37:31.051
      !MESSAGE NLS missing message: fileInitializer_fileNotFound in: org.eclipse.core.internal.runtime.messages

      !ENTRY org.eclipse.osgi 2 1 2008-04-08 13:37:31.052
      !MESSAGE NLS missing message: fileInitializer_IOError in: org.eclipse.core.internal.runtime.messages

      !ENTRY org.eclipse.osgi 2 1 2008-04-08 13:37:31.052
      !MESSAGE NLS missing message: fileInitializer_missingFileName in: org.eclipse.core.internal.runtime.messages

      !ENTRY org.eclipse.core.resources 2 10035 2008-04-08 13:37:32.908
      !MESSAGE A workspace crash was detected. The previous session did not exit normally.

      !ENTRY org.eclipse.osgi 4 0 2008-04-08 13:37:32.945
      !MESSAGE An error occurred while automatically activating bundle org.eclipse.core.resources (32).
      !STACK 0
      org.osgi.framework.BundleException: Exception in org.eclipse.core.internal.compatibility.PluginActi vator.start() of bundle org.eclipse.core.resources.
      at org.eclipse.osgi.framework.internal.core.BundleCon textImpl.startActivator(BundleContextImpl.java:101 0)
      at org.eclipse.osgi.framework.internal.core.BundleCon textImpl.start(BundleContextImpl.java:966)
      at org.eclipse.osgi.framework.internal.core.BundleHos t.startWorker(BundleHost.java:317)
      at org.eclipse.osgi.framework.internal.core.AbstractB undle.start(AbstractBundle.java:256)
      at org.eclipse.osgi.framework.util.SecureAction.start (SecureAction.java:342)
      at org.eclipse.core.runtime.internal.adaptor.EclipseL azyStarter.preFindLocalClass(EclipseLazyStarter.ja va:88)
      at org.eclipse.osgi.baseadaptor.loader.ClasspathManag er.findLocalClass(ClasspathManager.java:412)
      at org.eclipse.osgi.internal.baseadaptor.DefaultClass Loader.findLocalClass(DefaultClassLoader.java:189)
      at org.eclipse.osgi.framework.internal.core.BundleLoa der.findLocalClass(BundleLoader.java:334)
      at org.eclipse.osgi.framework.internal.core.SingleSou rcePackage.loadClass(SingleSourcePackage.java:37)
      at org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:383)
      at org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:347)
      at org.eclipse.osgi.internal.baseadaptor.DefaultClass Loader.loadClass(DefaultClassLoader.java:83)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:2 51)
      at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:319)
      at org.eclipse.ui.internal.ide.IDEApplication.run(IDE Application.java:96)
      at org.eclipse.core.internal.runtime.PlatformActivato r$1.run(PlatformActivator.java:78)
      at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.runApplication(EclipseAppLauncher.java: 92)
      at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.start(EclipseAppLauncher.java:68)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:400)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:177)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.eclipse.core.launcher.Main.invokeFramework(Mai n.java:336)
      at org.eclipse.core.launcher.Main.basicRun(Main.java: 280)
      at org.eclipse.core.launcher.Main.run(Main.java:977)
      at org.eclipse.core.launcher.Main.main(Main.java:952)
      Caused by: org.eclipse.core.internal.dtree.ObjectNotFoundExce ption: Tree element /PRG/GPIOcontrol.h not found.
      at org.eclipse.core.internal.dtree.AbstractDataTree.h andleNotFound(AbstractDataTree.java:257)
      at org.eclipse.core.internal.dtree.DeltaDataTree.getD ata(DeltaDataTree.java:585)
      at org.eclipse.core.internal.dtree.DataDeltaNode.asBa ckwardDelta(DataDeltaNode.java:50)
      at org.eclipse.core.internal.dtree.NoDataDeltaNode.as BackwardDelta(NoDataDeltaNode.java:59)
      at org.eclipse.core.internal.dtree.DataDeltaNode.asBa ckwardDelta(DataDeltaNode.java:47)
      at org.eclipse.core.internal.dtree.DeltaDataTree.asBa ckwardDelta(DeltaDataTree.java:88)
      at org.eclipse.core.internal.dtree.DeltaDataTree.rero ot(DeltaDataTree.java:816)
      at org.eclipse.core.internal.dtree.DeltaDataTree.rero ot(DeltaDataTree.java:815)
      at org.eclipse.core.internal.dtree.DeltaDataTree.rero ot(DeltaDataTree.java:815)
      at org.eclipse.core.internal.dtree.DeltaDataTree.rero ot(DeltaDataTree.java:815)
      at org.eclipse.core.internal.dtree.DeltaDataTree.rero ot(DeltaDataTree.java:815)
      at org.eclipse.core.internal.dtree.DeltaDataTree.rero ot(DeltaDataTree.java:815)
      at org.eclipse.core.internal.dtree.DeltaDataTree.rero ot(DeltaDataTree.java:792)
      at org.eclipse.core.internal.watson.ElementTree.immut able(ElementTree.java:517)
      at org.eclipse.core.internal.resources.SaveManager.re store(SaveManager.java:644)
      at org.eclipse.core.internal.resources.SaveManager.st artup(SaveManager.java:1299)
      at org.eclipse.core.internal.resources.Workspace.star tup(Workspace.java:1883)
      at org.eclipse.core.internal.resources.Workspace.open (Workspace.java:1653)
      at org.eclipse.core.resources.ResourcesPlugin.startup (ResourcesPlugin.java:367)
      at org.eclipse.core.internal.compatibility.PluginActi vator.start(PluginActivator.java:31)
      at org.eclipse.osgi.framework.internal.core.BundleCon textImpl$2.run(BundleContextImpl.java:991)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.eclipse.osgi.framework.internal.core.BundleCon textImpl.startActivator(BundleContextImpl.java:985 )
      ... 28 more
      Root exception:
      org.eclipse.core.internal.dtree.ObjectNotFoundExce ption: Tree element /PRG/GPIOcontrol.h not found.
      at org.eclipse.core.internal.dtree.AbstractDataTree.h andleNotFound(AbstractDataTree.java:257)
      at org.eclipse.core.internal.dtree.DeltaDataTree.getD ata(DeltaDataTree.java:585)
      at org.eclipse.core.internal.dtree.DataDeltaNode.asBa ckwardDelta(DataDeltaNode.java:50)
      at org.eclipse.core.internal.dtree.NoDataDeltaNode.as BackwardDelta(NoDataDeltaNode.java:59)
      at org.eclipse.core.internal.dtree.DataDeltaNode.asBa ckwardDelta(DataDeltaNode.java:47)
      at org.eclipse.core.internal.dtree.DeltaDataTree.asBa ckwardDelta(DeltaDataTree.java:88)
      at org.eclipse.core.internal.dtree.DeltaDataTree.rero ot(DeltaDataTree.java:816)
      at org.eclipse.core.internal.dtree.DeltaDataTree.rero ot(DeltaDataTree.java:815)
      at org.eclipse.core.internal.dtree.DeltaDataTree.rero ot(DeltaDataTree.java:815)
      at org.eclipse.core.internal.dtree.DeltaDataTree.rero ot(DeltaDataTree.java:815)
      at org.eclipse.core.internal.dtree.DeltaDataTree.rero ot(DeltaDataTree.java:815)
      at org.eclipse.core.internal.dtree.DeltaDataTree.rero ot(DeltaDataTree.java:815)
      at org.eclipse.core.internal.dtree.DeltaDataTree.rero ot(DeltaDataTree.java:792)
      at org.eclipse.core.internal.watson.ElementTree.immut able(ElementTree.java:517)
      at org.eclipse.core.internal.resources.SaveManager.re store(SaveManager.java:644)
      at org.eclipse.core.internal.resources.SaveManager.st artup(SaveManager.java:1299)
      at org.eclipse.core.internal.resources.Workspace.star tup(Workspace.java:1883)
      at org.eclipse.core.internal.resources.Workspace.open (Workspace.java:1653)
      at org.eclipse.core.resources.ResourcesPlugin.startup (ResourcesPlugin.java:367)
      at org.eclipse.core.internal.compatibility.PluginActi vator.start(PluginActivator.java:31)
      at org.eclipse.osgi.framework.internal.core.BundleCon textImpl$2.run(BundleContextImpl.java:991)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.eclipse.osgi.framework.internal.core.BundleCon textImpl.startActivator(BundleContextImpl.java:985 )
      at org.eclipse.osgi.framework.internal.core.BundleCon textImpl.start(BundleContextImpl.java:966)
      at org.eclipse.osgi.framework.internal.core.BundleHos t.startWorker(BundleHost.java:317)
      at org.eclipse.osgi.framework.internal.core.AbstractB undle.start(AbstractBundle.java:256)
      at org.eclipse.osgi.framework.util.SecureAction.start (SecureAction.java:342)
      at org.eclipse.core.runtime.internal.adaptor.EclipseL azyStarter.preFindLocalClass(EclipseLazyStarter.ja va:88)
      at org.eclipse.osgi.baseadaptor.loader.ClasspathManag er.findLocalClass(ClasspathManager.java:412)
      at org.eclipse.osgi.internal.baseadaptor.DefaultClass Loader.findLocalClass(DefaultClassLoader.java:189)
      at org.eclipse.osgi.framework.internal.core.BundleLoa der.findLocalClass(BundleLoader.java:334)
      at org.eclipse.osgi.framework.internal.core.SingleSou rcePackage.loadClass(SingleSourcePackage.java:37)
      at org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:383)
      at org.eclipse.osgi.framework.internal.core.BundleLoa der.findClass(BundleLoader.java:347)
      at org.eclipse.osgi.internal.baseadaptor.DefaultClass Loader.loadClass(DefaultClassLoader.java:83)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:2 51)
      at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:319)
      at org.eclipse.ui.internal.ide.IDEApplication.run(IDE Application.java:96)
      at org.eclipse.core.internal.runtime.PlatformActivato r$1.run(PlatformActivator.java:78)
      at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.runApplication(EclipseAppLauncher.java: 92)
      at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.start(EclipseAppLauncher.java:68)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:400)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:177)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.eclipse.core.launcher.Main.invokeFramework(Mai n.java:336)
      at org.eclipse.core.launcher.Main.basicRun(Main.java: 280)
      at org.eclipse.core.launcher.Main.run(Main.java:977)
      at org.eclipse.core.launcher.Main.main(Main.java:952)

      !ENTRY org.eclipse.osgi 4 0 2008-04-08 13:37:33.123
      !MESSAGE Application error
      !STACK 1
      java.lang.NoClassDefFoundError: org/eclipse/core/resources/IContainer
      at org.eclipse.ui.internal.ide.IDEApplication.run(IDE Application.java:96)
      at org.eclipse.core.internal.runtime.PlatformActivato r$1.run(PlatformActivator.java:78)
      at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.runApplication(EclipseAppLauncher.java: 92)
      at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.start(EclipseAppLauncher.java:68)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:400)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:177)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.eclipse.core.launcher.Main.invokeFramework(Mai n.java:336)
      at org.eclipse.core.launcher.Main.basicRun(Main.java: 280)
      at org.eclipse.core.launcher.Main.run(Main.java:977)
      at org.eclipse.core.launcher.Main.main(Main.java:952)


      What can I do? I'm lost

      Thanks for any kind of help!
      roN

      http://www.inetgate.biz

      Comment


        #4
        Re: Eclipse Europa

        sudo update-alternatives --config java

        Then choose the Java 6 option.

        Comment


          #5
          Re: Eclipse Europa

          Okay, I made:
          reg@NovaxPRG-T1111:~$ sudo update-alternatives --config java
          [sudo] password for reg:
          Sorry, try again.
          [sudo] password for reg:

          There are 5 alternatives which provide `java'.

          Selection Alternative
          -----------------------------------------------
          *+ 1 /usr/lib/j2se/1.4/bin/java
          2 /usr/bin/gij-4.2
          3 /usr/lib/jvm/java-6-sun/jre/bin/java
          4 /usr/lib/jvm/java-7-icedtea/jre/bin/java
          5 /usr/lib/jvm/java-1.5.0-sun/jre/bin/java

          Press enter to keep the default[*], or type selection number: 3
          Using `/usr/lib/jvm/java-6-sun/jre/bin/java' to provide `java'.
          reg@NovaxPRG-T1111:~$



          And got:

          reg@NovaxPRG-T1111:~/Desktop/downloads/eclipse$ eclipse
          searching for compatible vm...
          testing /usr/lib/jvm/java-gcj...not found
          testing /usr/lib/kaffe/pthreads...not found
          testing /usr/lib/jvm/java-6-sun...found
          Could not create /usr/local/lib/eclipse/.eclipseextension. Please run as root:
          touch /usr/local/lib/eclipse/.eclipseextension
          chmod 2775 /usr/local/lib/eclipse/.eclipseextension
          chown root:staff /usr/local/lib/eclipse/.eclipseextension
          reg@NovaxPRG-T1111:~/Desktop/downloads/eclipse$


          So I'm still not any further....I think i will need to leave the eclipse IDE... oh well....I still would appreciatre if some one would be able to help me,

          Thanks!
          roN

          http://www.inetgate.biz

          Comment


            #6
            Re: Eclipse Europa

            eclipse works no problems.
            i use it every day.

            i think you're simply suffering the consequences
            of manual installations of java and/or eclipse and/or eclipse-europa.

            you could try (as suggested by eclipse itself):
            Code:
            sudo touch /usr/local/lib/eclipse/.eclipseextension
            sudo chmod 2775 /usr/local/lib/eclipse/.eclipseextension
            sudo chown root:staff /usr/local/lib/eclipse/.eclipseextension
            or you could try cleaning up your eclipse installation.
            and get a fresh one from the repositories (eclipse is in "universe").
            gnu/linux is not windoze

            Comment


              #7
              Re: Eclipse Europa

              The OP is using the latest version of Eclipse, not available in the repos. So am I, I've not had any problems - maybe because I had installed the older version previously.

              Reggler, try doing what Eclipse wants you do to, and see if that solves things.

              Comment

              Working...
              X