Hello,
I am using Eclipse 3.3.1 with the delta pack 3.3.1 on a win32
development box. I am having problems running both the linux and
mac exports of my RCP application however the win32 export works
just fine. Both the linux and mac application's error logs complain
about missing classes however the .jar files are available in the
plugins directory.
For example on linux the error log contains numerous class not
found exceptions. I have found all of these classes in the
plugins/org.eclipse.equinox.app_1.0.1.R33xxx.jar For some reason
the RCP application is not finding this jar in the classpath? I am
using the default config.ini file
!MESSAGE An error occurred while automatically activating bundle
org.eclipse.equinox.app (21).
!STACK 0
org.osgi.framework.BundleException: Exception in
org.eclipse.equinox.internal.app.Activator.start() of bundle
org.eclipse.equinox.app.
...
Caused by: java.lang.NoClassDefFoundError:
org.eclipse.equinox.internal.app.AppPersistence
at java.lang.Class.initializeClass(libgcj.so.70)
at
org.eclipse.equinox.internal.app.Activator.start(Activator.java:51)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)
at java.security.AccessController.doPrivileged(libgcj.so.70)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993)
...29 more
Caused by: java.lang.ClassNotFoundException:
org.eclipse.equinox.internal.app.EclipseScheduledApplication
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:434)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(libgcj.so.70)
at java.lang.Class.forName(libgcj.so.70)
at java.lang.Class.initializeClass(libgcj.so.70)
...33 more
Root exception:
java.lang.NoClassDefFoundError:
org.eclipse.equinox.internal.app.AppPersistence
On mac I am getting a different error but the same issue of no
class defined:
!MESSAGE An error occurred while automatically activating bundle
org.eclipse.ui.workbench (40).
!STACK 0
org.osgi.framework.BundleException: The activator
org.eclipse.ui.internal.WorkbenchPlugin for bundle
org.eclipse.ui.workbench is invalid
...
Caused by: java.lang.NoClassDefFoundError: org/eclipse/swt/SWTError
at java.lang.Class.getDeclaredConstructors0(Native Method)
at
java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
at java.lang.Class.getConstructor0(Class.java:2640)
at java.lang.Class.newInstance0(Class.java:321)
at java.lang.Class.newInstance(Class.java:303)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:136)
... 64 more
Root exception:
java.lang.NoClassDefFoundError: org/eclipse/swt/SWTError
Am I missing a step in the export process to make this work?
Thanks in advance
Brian