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...
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...