PDA

View Full Version : Can't start Eclipse 3.2 in FC6



silfreed
29th October 2006, 08:32 PM
I had been using Eclipse in FC5 with a number of external plugins (GEF, EMF, PHPEclipse, subclipse, WTP) and had been working fine. I knew that I would have to get rid of these for the upgrade to FC6, so I uninstalled all eclipse RPMs, removed the /usr/share/eclipse and /usr/lib/eclipse directories as well as ~/.eclipse. After installing the packages I wanted, things won't start correctly. I get the following error:


An error has occurred. See the log file /home/silfreed/workspace/.metadata/.log.


-Doug

Here's some additional info.


$ alternatives --config java

There are 3 programs which provide 'java'.

Selection Command
-----------------------------------------------
1 /usr/share/java/libgcj-java-placeholder.sh
*+ 2 /usr/lib/jvm/jre-1.4.2-gcj/bin/java
3 /opt/jre1.5.0_07/bin/java




$ rpm -qa | grep -i eclipse
eclipse-jdt-3.2.1-4.fc6
eclipse-gef-3.2.1-2.fc6
eclipse-subclipse-1.1.5-2.fc6
eclipse-ecj-3.2.1-4.fc6
eclipse-cdt-3.1.1-1.fc6
eclipse-platform-3.2.1-4.fc6
eclipse-rcp-3.2.1-4.fc6




$ cat workspace/.metadata/.log
!SESSION 2006-10-29 15:26:57.307 -----------------------------------------------
eclipse.buildId=M20060921-0945
java.fullversion=GNU libgcj 4.1.1 20061011 (Red Hat 4.1.1-30)
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86

!ENTRY org.eclipse.osgi 2 1 2006-10-29 15:26:58.698
!MESSAGE NLS missing message: fileInitializer_missingFileName in: org.eclipse.core.internal.runtime.messages

!ENTRY org.eclipse.core.runtime 2006-10-29 15:26:58.789
!MESSAGE Product org.eclipse.platform.ide could not be found.

!ENTRY org.eclipse.osgi 4 0 2006-10-29 15:26:58.839
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
at org.eclipse.core.internal.runtime.PlatformActivato r$1.run(org.eclipse.core.runtime_3.2.0.v20060603.j ar.so)
at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.runApplication(org.eclipse.osgi_3.2.1.R 32x_v20060919.jar.so)
at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.start(org.eclipse.osgi_3.2.1.R32x_v2006 0919.jar.so)
at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(org.eclipse.osgi_3.2.1.R32x_v20060919.jar.so)
at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(org.eclipse.osgi_3.2.1.R32x_v20060919.jar.so)
at java.lang.reflect.Method.invoke(libgcj.so.7rh)
at org.eclipse.core.launcher.Main.invokeFramework(sta rtup.jar.so)
at org.eclipse.core.launcher.Main.basicRun(startup.ja r.so)
at org.eclipse.core.launcher.Main.run(startup.jar.so)
at org.eclipse.core.launcher.Main.main(startup.jar.so )

...SNIP...

silfreed
30th October 2006, 04:23 AM
Slightly different packages and error messages now.


# rpm -qa | grep -i eclipse
eclipse-pde-sdk-3.2.1-4.fc6
eclipse-platform-3.2.1-4.fc6
eclipse-jdt-sdk-3.2.1-4.fc6
eclipse-jdt-3.2.1-4.fc6
eclipse-rcp-sdk-3.2.1-4.fc6
eclipse-pde-3.2.1-4.fc6
eclipse-rcp-3.2.1-4.fc6
eclipse-pde-runtime-3.2.1-4.fc6
eclipse-sdk-3.2.1-4.fc6
eclipse-platform-sdk-3.2.1-4.fc6
eclipse-ecj-3.2.1-4.fc6
eclipse-gef-3.2.1-2.fc6
eclipse-subclipse-1.1.5-2.fc6



!SESSION 2006-10-29 22:21:36.224 -----------------------------------------------
eclipse.buildId=M20060921-0945
java.fullversion=GNU libgcj 4.1.1 20061011 (Red Hat 4.1.1-30)
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86

!ENTRY org.eclipse.update.configurator 2006-10-29 22:21:37.130
!MESSAGE Could not install bundle plugins/org.eclipse.pde.build/ Bundle "org.eclip
se.pde.build" version "3.2.1.r321_v20060823" has already been installed from: update
@plugins/org.eclipse.pde.build_3.2.1.r321_v20060823/

!ENTRY org.eclipse.osgi 2 1 2006-10-29 22:21:37.551
!MESSAGE NLS missing message: fileInitializer_missingFileName in: org.eclipse.core.i
nternal.runtime.messages

!ENTRY org.eclipse.core.runtime 2006-10-29 22:21:37.586
!MESSAGE Product org.eclipse.platform.ide could not be found.

!ENTRY org.eclipse.osgi 4 0 2006-10-29 22:21:37.589
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
at org.eclipse.core.internal.runtime.PlatformActivato r$1.run(org.eclipse.core.run
time_3.2.0.v20060603.jar.so)
at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.runApplication(or
g.eclipse.osgi_3.2.1.R32x_v20060919.jar.so)
at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.start(org.eclipse
.osgi_3.2.1.R32x_v20060919.jar.so)
at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(org.eclipse.osgi_3.2.1.R32
x_v20060919.jar.so)
at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(org.eclipse.osgi_3.2.1.R32
x_v20060919.jar.so)
at java.lang.reflect.Method.invoke(libgcj.so.7rh)
at org.eclipse.core.launcher.Main.invokeFramework(sta rtup.jar.so)
at org.eclipse.core.launcher.Main.basicRun(startup.ja r.so)
at org.eclipse.core.launcher.Main.run(startup.jar.so)
at org.eclipse.core.launcher.Main.main(startup.jar.so )

silfreed
30th October 2006, 05:50 AM
I figured this one out - apparently clearing out /usr/share/eclipse was a bad idea because other packages had files there. Specifically, libswt3-gtk2. After reinstalling this file everything seems good.