Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » eclipse won't start
eclipse won't start [message #947840] Wed, 17 October 2012 13:47 Go to next message
Max Sauerland is currently offline Max SauerlandFriend
Messages: 2
Registered: October 2012
Junior Member
Hi,

I'm sorry if an answer to my question appeared before and I didn't notice.
When I execute eclipse under Suse-Linux I get the following message:


An error has occurred. See the log file
/home/maxe/Dokumente/Programmierung/workspace/.metadata/.log.

But this directory doesn't exist. The logfiles where saved in the configuration folder. But now when I execute eclipse there are no more logfiles made.

I already tried to modify the eclipse.ini as follows:
-vm
/usr/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.5

/usr/bin/java is what I get when I enter "which java" in the terminal

I also tried:
-vm
/usr/bin/java
-vmargs
-Dosgi.configuration.area=@user.home/.eclipse

I also tried modifying the config.ini:

from
osgi.instance.area.default=@user.home/workspace
to
osgi.instance.area.default=my workspace path



an old logfile: I don't remember the settings in eclipse.ini I had when this file was made:

Thanks for your help.



!SESSION 2012-10-17 14:10:53.890 -----------------------------------------------
eclipse.buildId=M20120914-1800
java.fullversion=GNU libgcj 4.6.2
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86

!ENTRY org.eclipse.osgi 4 0 2012-10-17 14:16:29.178
!MESSAGE Could not start bundle: org.eclipse.equinox.console
!STACK 0
org.osgi.framework.BundleException: Could not start bundle: org.eclipse.equinox.console
at org.eclipse.osgi.framework.internal.core.ConsoleManager.checkForConsoleBundle(ConsoleManager.java:217)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:297)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at java.lang.reflect.Method.invoke(libgcj.so.12)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
Caused by: org.osgi.framework.BundleException: Exception in org.eclipse.equinox.console.command.adapter.Activator.start() of bundle org.eclipse.equinox.console.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:300)
at org.eclipse.osgi.framework.internal.core.ConsoleManager.checkForConsoleBundle(ConsoleManager.java:215)
...7 more
Caused by: org.osgi.framework.BundleException: Exception in org.apache.felix.gogo.command.Activator.start() of bundle org.apache.felix.gogo.command.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:300)
at org.eclipse.equinox.console.command.adapter.Activator.startBundle(Activator.java:248)
at org.eclipse.equinox.console.command.adapter.Activator.start(Activator.java:239)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
at java.security.AccessController.doPrivileged(libgcj.so.12)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
...11 more
Caused by: java.lang.NoClassDefFoundError: org.apache.felix.gogo.command.OBR
at java.lang.Class.initializeClass(libgcj.so.12)
at org.apache.felix.gogo.command.Activator.start(Activator.java:54)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
at java.security.AccessController.doPrivileged(libgcj.so.12)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
...19 more
Caused by: java.lang.ClassNotFoundException: org.apache.felix.bundlerepository.Repository
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(libgcj.so.12)
at java.lang.Class.initializeClass(libgcj.so.12)
...23 more
Root exception:
java.lang.NoClassDefFoundError: org.apache.felix.gogo.command.OBR
at java.lang.Class.initializeClass(libgcj.so.12)
at org.apache.felix.gogo.command.Activator.start(Activator.java:54)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
at java.security.AccessController.doPrivileged(libgcj.so.12)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:300)
at org.eclipse.equinox.console.command.adapter.Activator.startBundle(Activator.java:248)
at org.eclipse.equinox.console.command.adapter.Activator.start(Activator.java:239)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
at java.security.AccessController.doPrivileged(libgcj.so.12)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:300)
at org.eclipse.osgi.framework.internal.core.ConsoleManager.checkForConsoleBundle(ConsoleManager.java:215)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:297)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at java.lang.reflect.Method.invoke(libgcj.so.12)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
Caused by: java.lang.ClassNotFoundException: org.apache.felix.bundlerepository.Repository
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(libgcj.so.12)
at java.lang.Class.initializeClass(libgcj.so.12)
...23 more

!ENTRY org.eclipse.osgi 4 0 2012-10-17 14:16:32.290
!MESSAGE Application error
!STACK 1
org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
at org.eclipse.swt.SWT.error(SWT.java:4387)
at org.eclipse.swt.widgets.Display.createDisplay(Display.java:913)
at org.eclipse.swt.widgets.Display.create(Display.java:899)
at org.eclipse.swt.graphics.Device.<init>(Device.java:156)
at org.eclipse.swt.widgets.Display.<init>(Display.java:497)
at org.eclipse.swt.widgets.Display.<init>(Display.java:488)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:669)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:154)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:96)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at java.lang.reflect.Method.invoke(libgcj.so.12)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)



Re: eclipse won't start [message #949240 is a reply to message #947840] Thu, 18 October 2012 20:50 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4492
Registered: July 2009
Senior Member

Max Sauerland wrote on Wed, 17 October 2012 09:47
Hi,
...
!SESSION 2012-10-17 14:10:53.890 -----------------------------------------------
eclipse.buildId=M20120914-1800
java.fullversion=GNU libgcj 4.6.2
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86
...


Don't use GCJ. Use a VM from Oracle, IBM, or possibly OpenJDK, then it might actually create the logs.


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: eclipse won't start [message #949382 is a reply to message #949240] Fri, 19 October 2012 00:06 Go to previous message
Max Sauerland is currently offline Max SauerlandFriend
Messages: 2
Registered: October 2012
Junior Member
ah, thanks for your help.
It seem like there was still an old compiler installed on my computer. So I set the vm argument to my current compiler in the eclipse.ini file and everything is working fine now.
Previous Topic:Which Effort has this Board??
Next Topic:Just need a quick help
Goto Forum:
  


Current Time: Thu Sep 26 04:17:38 GMT 2024

Powered by FUDForum. Page generated in 0.08345 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top