Unable to start RCP Eclipse 4.4.2 application with Java 1.8 on Linux x86_64 -


we have rcp eclipse plugin based ui console developed in eclipse 3.7.2 java 1.7. porting eclipse 4.4.2 java 1.8. unable start rcp eclipse 4.4.2 application java 1.8 on linux x86_64. when try launch application, application crashes after display of splash screen pop-up saying log created. please find below snippet of log file:

!entry org.eclipse.osgi 4 0 2015-06-04 21:27:59.594 !message error occurred while automatically activating bundle com.biz.client.ui (66). !stack 0 org.osgi.framework.bundleexception: error loading bundle activator.     @ org.eclipse.osgi.internal.framework.bundlecontextimpl.start(bundlecontextimpl.java:711)     @ org.eclipse.osgi.internal.framework.equinoxbundle.startworker0(equinoxbundle.java:936)     @ org.eclipse.osgi.internal.framework.equinoxbundle$equinoxmodule.startworker(equinoxbundle.java:319)     @ org.eclipse.osgi.container.module.dostart(module.java:571)     @ org.eclipse.osgi.container.module.start(module.java:439)     @ org.eclipse.osgi.framework.util.secureaction.start(secureaction.java:454)     @ org.eclipse.osgi.internal.hooks.eclipselazystarter.postfindlocalclass(eclipselazystarter.java:107)     @ org.eclipse.osgi.internal.loader.classpath.classpathmanager.findlocalclass(classpathmanager.java:531)     @ org.eclipse.osgi.internal.loader.moduleclassloader.findlocalclass(moduleclassloader.java:324)     @ org.eclipse.osgi.internal.loader.bundleloader.findlocalclass(bundleloader.java:320)     @ org.eclipse.osgi.internal.loader.bundleloader.findclassinternal(bundleloader.java:395)     @ org.eclipse.osgi.internal.loader.bundleloader.findclass(bundleloader.java:345)     @ org.eclipse.osgi.internal.loader.bundleloader.findclass(bundleloader.java:337)     @ org.eclipse.osgi.internal.loader.moduleclassloader.loadclass(moduleclassloader.java:160)     @ java.lang.classloader.loadclass(classloader.java:357)     @ org.eclipse.osgi.internal.framework.equinoxbundle.loadclass(equinoxbundle.java:568)     @ org.eclipse.core.internal.registry.osgi.registrystrategyosgi.createexecutableextension(registrystrategyosgi.java:174)     @ org.eclipse.core.internal.registry.extensionregistry.createexecutableextension(extensionregistry.java:905)     @ org.eclipse.core.internal.registry.configurationelement.createexecutableextension(configurationelement.java:243)     @ org.eclipse.core.internal.registry.configurationelementhandle.createexecutableextension(configurationelementhandle.java:55)     @ org.eclipse.equinox.internal.app.eclipseapphandle.run(eclipseapphandle.java:191)     @ org.eclipse.core.runtime.internal.adaptor.eclipseapplauncher.runapplication(eclipseapplauncher.java:134)     @ org.eclipse.core.runtime.internal.adaptor.eclipseapplauncher.start(eclipseapplauncher.java:104)     @ org.eclipse.core.runtime.adaptor.eclipsestarter.run(eclipsestarter.java:380)     @ org.eclipse.core.runtime.adaptor.eclipsestarter.run(eclipsestarter.java:235)     @ sun.reflect.nativemethodaccessorimpl.invoke0(native method)     @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62)     @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43)     @ java.lang.reflect.method.invoke(method.java:497)     @ org.eclipse.equinox.launcher.main.invokeframework(main.java:648)     @ org.eclipse.equinox.launcher.main.basicrun(main.java:603)     @ org.eclipse.equinox.launcher.main.run(main.java:1465)     @ org.eclipse.equinox.launcher.main.main(main.java:1438) caused by: java.lang.classnotfoundexception: error occurred while automatically activating bundle org.eclipse.ui.workbench (93).     @ org.eclipse.osgi.internal.hooks.eclipselazystarter.postfindlocalclass(eclipselazystarter.java:116)     @ org.eclipse.osgi.internal.loader.classpath.classpathmanager.findlocalclass(classpathmanager.java:531)     @ org.eclipse.osgi.internal.loader.moduleclassloader.findlocalclass(moduleclassloader.java:324)     @ org.eclipse.osgi.internal.loader.bundleloader.findlocalclass(bundleloader.java:320)     @ org.eclipse.osgi.internal.loader.bundleloader.findclassinternal(bundleloader.java:395)     @ org.eclipse.osgi.internal.loader.bundleloader.findclass(bundleloader.java:345)     @ org.eclipse.osgi.internal.loader.bundleloader.findclass(bundleloader.java:337)     @ org.eclipse.osgi.internal.framework.bundlecontextimpl.loadbundleactivator(bundlecontextimpl.java:754)     @ org.eclipse.osgi.internal.framework.bundlecontextimpl.start(bundlecontextimpl.java:706)     ... 32 more caused by: org.osgi.framework.bundleexception: error starting module.     @ org.eclipse.osgi.container.module.dostart(module.java:580)     @ org.eclipse.osgi.container.module.start(module.java:439)     @ org.eclipse.osgi.framework.util.secureaction.start(secureaction.java:454)     @ org.eclipse.osgi.internal.hooks.eclipselazystarter.postfindlocalclass(eclipselazystarter.java:107)     ... 40 more caused by: java.lang.noclassdeffounderror: org/eclipse/swt/swterror     @ java.lang.class.getdeclaredconstructors0(native method)     @ java.lang.class.privategetdeclaredconstructors(class.java:2671)     @ java.lang.class.getconstructor0(class.java:3075)     @ java.lang.class.newinstance(class.java:412)     @ org.eclipse.osgi.internal.framework.bundlecontextimpl.loadbundleactivator(bundlecontextimpl.java:755)     @ org.eclipse.osgi.internal.framework.bundlecontextimpl.start(bundlecontextimpl.java:706)     @ org.eclipse.osgi.internal.framework.equinoxbundle.startworker0(equinoxbundle.java:936)     @ org.eclipse.osgi.internal.framework.equinoxbundle$equinoxmodule.startworker(equinoxbundle.java:319)     @ org.eclipse.osgi.container.module.dostart(module.java:571)     ... 43 more caused by: java.lang.classnotfoundexception: org.eclipse.swt.swterror cannot found org.eclipse.ui.workbench_3.106.2.v20150204-1030     @ org.eclipse.osgi.internal.loader.bundleloader.findclassinternal(bundleloader.java:432)     @ org.eclipse.osgi.internal.loader.bundleloader.findclass(bundleloader.java:345)     @ org.eclipse.osgi.internal.loader.bundleloader.findclass(bundleloader.java:337)     @ org.eclipse.osgi.internal.loader.moduleclassloader.loadclass(moduleclassloader.java:160)     @ java.lang.classloader.loadclass(classloader.java:357)     ... 52 more root exception: java.lang.classnotfoundexception: error occurred while automatically activating bundle org.eclipse.ui.workbench (93).     @ org.eclipse.osgi.internal.hooks.eclipselazystarter.postfindlocalclass(eclipselazystarter.java:116)     @ org.eclipse.osgi.internal.loader.classpath.classpathmanager.findlocalclass(classpathmanager.java:531)     @ org.eclipse.osgi.internal.loader.moduleclassloader.findlocalclass(moduleclassloader.java:324)     @ org.eclipse.osgi.internal.loader.bundleloader.findlocalclass(bundleloader.java:320)     @ org.eclipse.osgi.internal.loader.bundleloader.findclassinternal(bundleloader.java:395)     @ org.eclipse.osgi.internal.loader.bundleloader.findclass(bundleloader.java:345)     @ org.eclipse.osgi.internal.loader.bundleloader.findclass(bundleloader.java:337)     @ org.eclipse.osgi.internal.framework.bundlecontextimpl.loadbundleactivator(bundlecontextimpl.java:754)     @ org.eclipse.osgi.internal.framework.bundlecontextimpl.start(bundlecontextimpl.java:706)     @ org.eclipse.osgi.internal.framework.equinoxbundle.startworker0(equinoxbundle.java:936)     @ org.eclipse.osgi.internal.framework.equinoxbundle$equinoxmodule.startworker(equinoxbundle.java:319)     @ org.eclipse.osgi.container.module.dostart(module.java:571)     @ org.eclipse.osgi.container.module.start(module.java:439)     @ org.eclipse.osgi.framework.util.secureaction.start(secureaction.java:454)     @ org.eclipse.osgi.internal.hooks.eclipselazystarter.postfindlocalclass(eclipselazystarter.java:107)     @ org.eclipse.osgi.internal.loader.classpath.classpathmanager.findlocalclass(classpathmanager.java:531)     @ org.eclipse.osgi.internal.loader.moduleclassloader.findlocalclass(moduleclassloader.java:324)     @ org.eclipse.osgi.internal.loader.bundleloader.findlocalclass(bundleloader.java:320)     @ org.eclipse.osgi.internal.loader.bundleloader.findclassinternal(bundleloader.java:395)     @ org.eclipse.osgi.internal.loader.bundleloader.findclass(bundleloader.java:345)     @ org.eclipse.osgi.internal.loader.bundleloader.findclass(bundleloader.java:337)     @ org.eclipse.osgi.internal.loader.moduleclassloader.loadclass(moduleclassloader.java:160)     @ java.lang.classloader.loadclass(classloader.java:357)     @ org.eclipse.osgi.internal.framework.equinoxbundle.loadclass(equinoxbundle.java:568)     @ org.eclipse.core.internal.registry.osgi.registrystrategyosgi.createexecutableextension(registrystrategyosgi.java:174)     @ org.eclipse.core.internal.registry.extensionregistry.createexecutableextension(extensionregistry.java:905)     @ org.eclipse.core.internal.registry.configurationelement.createexecutableextension(configurationelement.java:243)     @ org.eclipse.core.internal.registry.configurationelementhandle.createexecutableextension(configurationelementhandle.java:55)     @ org.eclipse.equinox.internal.app.eclipseapphandle.run(eclipseapphandle.java:191)     @ org.eclipse.core.runtime.internal.adaptor.eclipseapplauncher.runapplication(eclipseapplauncher.java:134)     @ org.eclipse.core.runtime.internal.adaptor.eclipseapplauncher.start(eclipseapplauncher.java:104)     @ org.eclipse.core.runtime.adaptor.eclipsestarter.run(eclipsestarter.java:380)     @ org.eclipse.core.runtime.adaptor.eclipsestarter.run(eclipsestarter.java:235)     @ sun.reflect.nativemethodaccessorimpl.invoke0(native method)     @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62)     @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43)     @ java.lang.reflect.method.invoke(method.java:497)     @ org.eclipse.equinox.launcher.main.invokeframework(main.java:648)     @ org.eclipse.equinox.launcher.main.basicrun(main.java:603)     @ org.eclipse.equinox.launcher.main.run(main.java:1465)     @ org.eclipse.equinox.launcher.main.main(main.java:1438) caused by: org.osgi.framework.bundleexception: error starting module.     @ org.eclipse.osgi.container.module.dostart(module.java:580)     @ org.eclipse.osgi.container.module.start(module.java:439)     @ org.eclipse.osgi.framework.util.secureaction.start(secureaction.java:454)     @ org.eclipse.osgi.internal.hooks.eclipselazystarter.postfindlocalclass(eclipselazystarter.java:107)     ... 40 more caused by: java.lang.noclassdeffounderror: org/eclipse/swt/swterror     @ java.lang.class.getdeclaredconstructors0(native method)     @ java.lang.class.privategetdeclaredconstructors(class.java:2671)     @ java.lang.class.getconstructor0(class.java:3075)     @ java.lang.class.newinstance(class.java:412)     @ org.eclipse.osgi.internal.framework.bundlecontextimpl.loadbundleactivator(bundlecontextimpl.java:755)     @ org.eclipse.osgi.internal.framework.bundlecontextimpl.start(bundlecontextimpl.java:706)     @ org.eclipse.osgi.internal.framework.equinoxbundle.startworker0(equinoxbundle.java:936)     @ org.eclipse.osgi.internal.framework.equinoxbundle$equinoxmodule.startworker(equinoxbundle.java:319)     @ org.eclipse.osgi.container.module.dostart(module.java:571)     ... 43 more caused by: java.lang.classnotfoundexception: org.eclipse.swt.swterror cannot found org.eclipse.ui.workbench_3.106.2.v20150204-1030     @ org.eclipse.osgi.internal.loader.bundleloader.findclassinternal(bundleloader.java:432)     @ org.eclipse.osgi.internal.loader.bundleloader.findclass(bundleloader.java:345)     @ org.eclipse.osgi.internal.loader.bundleloader.findclass(bundleloader.java:337)     @ org.eclipse.osgi.internal.loader.moduleclassloader.loadclass(moduleclassloader.java:160)     @ java.lang.classloader.loadclass(classloader.java:357)     ... 52 more  !entry org.eclipse.osgi 4 0 2015-06-04 21:27:59.601 !message application error !stack 1 org.eclipse.core.runtime.coreexception: plug-in com.biz.client.ui unable load class com.biz.om.infra.client.ui.rcp.blworkbenchapplication.     @ org.eclipse.core.internal.registry.osgi.registrystrategyosgi.throwexception(registrystrategyosgi.java:194)     @ org.eclipse.core.internal.registry.osgi.registrystrategyosgi.createexecutableextension(registrystrategyosgi.java:176)     @ org.eclipse.core.internal.registry.extensionregistry.createexecutableextension(extensionregistry.java:905)     @ org.eclipse.core.internal.registry.configurationelement.createexecutableextension(configurationelement.java:243)     @ org.eclipse.core.internal.registry.configurationelementhandle.createexecutableextension(configurationelementhandle.java:55)     @ org.eclipse.equinox.internal.app.eclipseapphandle.run(eclipseapphandle.java:191)     @ org.eclipse.core.runtime.internal.adaptor.eclipseapplauncher.runapplication(eclipseapplauncher.java:134)     @ org.eclipse.core.runtime.internal.adaptor.eclipseapplauncher.start(eclipseapplauncher.java:104)     @ org.eclipse.core.runtime.adaptor.eclipsestarter.run(eclipsestarter.java:380)     @ org.eclipse.core.runtime.adaptor.eclipsestarter.run(eclipsestarter.java:235)     @ sun.reflect.nativemethodaccessorimpl.invoke0(native method)     @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62)     @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43)     @ java.lang.reflect.method.invoke(method.java:497)     @ org.eclipse.equinox.launcher.main.invokeframework(main.java:648)     @ org.eclipse.equinox.launcher.main.basicrun(main.java:603)     @ org.eclipse.equinox.launcher.main.run(main.java:1465)     @ org.eclipse.equinox.launcher.main.main(main.java:1438) caused by: java.lang.classnotfoundexception: error occurred while automatically activating bundle com.biz.client.ui (66).     @ org.eclipse.osgi.internal.hooks.eclipselazystarter.postfindlocalclass(eclipselazystarter.java:116)     @ org.eclipse.osgi.internal.loader.classpath.classpathmanager.findlocalclass(classpathmanager.java:531)     @ org.eclipse.osgi.internal.loader.moduleclassloader.findlocalclass(moduleclassloader.java:324)     @ org.eclipse.osgi.internal.loader.bundleloader.findlocalclass(bundleloader.java:320)     @ org.eclipse.osgi.internal.loader.bundleloader.findclassinternal(bundleloader.java:395)     @ org.eclipse.osgi.internal.loader.bundleloader.findclass(bundleloader.java:345)     @ org.eclipse.osgi.internal.loader.bundleloader.findclass(bundleloader.java:337)     @ org.eclipse.osgi.internal.loader.moduleclassloader.loadclass(moduleclassloader.java:160)     @ java.lang.classloader.loadclass(classloader.java:357)     @ org.eclipse.osgi.internal.framework.equinoxbundle.loadclass(equinoxbundle.java:568)     @ org.eclipse.core.internal.registry.osgi.registrystrategyosgi.createexecutableextension(registrystrategyosgi.java:174)     ... 16 more caused by: org.osgi.framework.bundleexception: error loading bundle activator.     @ org.eclipse.osgi.internal.framework.bundlecontextimpl.start(bundlecontextimpl.java:711)     @ org.eclipse.osgi.internal.framework.equinoxbundle.startworker0(equinoxbundle.java:936)     @ org.eclipse.osgi.internal.framework.equinoxbundle$equinoxmodule.startworker(equinoxbundle.java:319)     @ org.eclipse.osgi.container.module.dostart(module.java:571)     @ org.eclipse.osgi.container.module.start(module.java:439)     @ org.eclipse.osgi.framework.util.secureaction.start(secureaction.java:454)     @ org.eclipse.osgi.internal.hooks.eclipselazystarter.postfindlocalclass(eclipselazystarter.java:107)     ... 26 more caused by: java.lang.classnotfoundexception: error occurred while automatically activating bundle org.eclipse.ui.workbench (93).     @ org.eclipse.osgi.internal.hooks.eclipselazystarter.postfindlocalclass(eclipselazystarter.java:116)     @ org.eclipse.osgi.internal.loader.classpath.classpathmanager.findlocalclass(classpathmanager.java:531)     @ org.eclipse.osgi.internal.loader.moduleclassloader.findlocalclass(moduleclassloader.java:324)     @ org.eclipse.osgi.internal.loader.bundleloader.findlocalclass(bundleloader.java:320)     @ org.eclipse.osgi.internal.loader.bundleloader.findclassinternal(bundleloader.java:395)     @ org.eclipse.osgi.internal.loader.bundleloader.findclass(bundleloader.java:345)     @ org.eclipse.osgi.internal.loader.bundleloader.findclass(bundleloader.java:337)     @ org.eclipse.osgi.internal.framework.bundlecontextimpl.loadbundleactivator(bundlecontextimpl.java:754)     @ org.eclipse.osgi.internal.framework.bundlecontextimpl.start(bundlecontextimpl.java:706)     ... 32 more caused by: org.osgi.framework.bundleexception: error starting module.     @ org.eclipse.osgi.container.module.dostart(module.java:580)     @ org.eclipse.osgi.container.module.start(module.java:439)     @ org.eclipse.osgi.framework.util.secureaction.start(secureaction.java:454)     @ org.eclipse.osgi.internal.hooks.eclipselazystarter.postfindlocalclass(eclipselazystarter.java:107)     ... 40 more caused by: java.lang.noclassdeffounderror: org/eclipse/swt/swterror     @ java.lang.class.getdeclaredconstructors0(native method)     @ java.lang.class.privategetdeclaredconstructors(class.java:2671)     @ java.lang.class.getconstructor0(class.java:3075)     @ java.lang.class.newinstance(class.java:412)     @ org.eclipse.osgi.internal.framework.bundlecontextimpl.loadbundleactivator(bundlecontextimpl.java:755)     @ org.eclipse.osgi.internal.framework.bundlecontextimpl.start(bundlecontextimpl.java:706)     @ org.eclipse.osgi.internal.framework.equinoxbundle.startworker0(equinoxbundle.java:936)     @ org.eclipse.osgi.internal.framework.equinoxbundle$equinoxmodule.startworker(equinoxbundle.java:319)     @ org.eclipse.osgi.container.module.dostart(module.java:571)     ... 43 more caused by: java.lang.classnotfoundexception: org.eclipse.swt.swterror cannot found org.eclipse.ui.workbench_3.106.2.v20150204-1030     @ org.eclipse.osgi.internal.loader.bundleloader.findclassinternal(bundleloader.java:432)     @ org.eclipse.osgi.internal.loader.bundleloader.findclass(bundleloader.java:345)     @ org.eclipse.osgi.internal.loader.bundleloader.findclass(bundleloader.java:337)     @ org.eclipse.osgi.internal.loader.moduleclassloader.loadclass(moduleclassloader.java:160)     @ java.lang.classloader.loadclass(classloader.java:357)     ... 52 more 

realizing looking platform specific swt jar file, downloaded 4.4.2 delta pack , copied file: org.eclipse.swt.gtk.linux.x86_64_3.103.2.v20150203-1351.jar plugins folder. see above message , following additional message in log file:

!entry org.eclipse.swt.gtk.linux.x86_64 2 0 2015-06-04 21:29:39.347 !message not resolve module: org.eclipse.swt.gtk.linux.x86_64 [137]   unresolved requirement: fragment-host: org.eclipse.swt; bundle-version="[3.0.0,4.0.0)" 

the launcher file being used given below:

-data @nodefault -showsplash org.eclipse.platform -vm /opt/biz/server/jre/bin/java -vmargs -dosgi.parentclassloader=ext -dosgi.requiredjavaversion=1.8 -dsuppressswingdropsupport=true -djava.library.path=/opt/bmc/biz/server/lib -dblx.cmrootdir=/opt/bmc/biz/server/br -dblx.cmlibdir=/opt/bmc/biz/server/cm/rcp/plugins/com.biz.client.jars_1.0.0/lib -xms512m -xmx768m -djava.security.egd=file:/dev/../dev/urandom -dosgi.configuration.area=@user.home/.biz/8.7.00.135 

it configured build , run on windows 32-bit, windows 64-bit, linux x86, linux x86_64 , solaris. biz.product file has following entries linux

<launcherargs>     <programargslin>         -showsplash         org.eclipse.platform             -vm         /usr/nsh/br/java/bin/java     </programargslin>     <vmargslin>         -dosgi.requiredjavaversion=1.8           -dsuppressswingdropsupport=true               -djava.library.path=/usr/nsh/bin:/usr/nsh/sbin:/usr/nsh/lib         -dblx.cmrootdir=/usr/nsh/br         -dblx.cmlibdir=/usr/nsh/br/stdlib         -xms256m         -xmx512m     </vmargslin> </launcherargs> 

i unable figure out why requirement not being resolved after addition of required jar file.

have faced problem? can please share suggestions/comments/inputs troubleshoot/fix it?

thanks, shashi

!entry org.eclipse.swt.gtk.linux.x86_64 2 0 2015-06-04 21:29:39.347 !message not resolve module: org.eclipse.swt.gtk.linux.x86_64 [137] unresolved requirement: fragment-host: org.eclipse.swt; bundle-version="[3.0.0,4.0.0)"

the module org.eclipse.swt.gtk.linux.x86_64 fragment bundle, adds platform-dependent implementation swt bundle. fragment cannot resolved when it's host bundle (named org.eclipse.swt) either missing or has wrong version.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -