我在Ubuntu 12.10 64位上设置RTC。我的RTC和JDK7也是64位版本。每当我尝试使用RTC传递代码时,我都会收到错误:
Error logged from Process Client UI:
No more handles [MOZILLA_FIVE_HOME='/opt/xulrunner/'] (java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
/opt/IBM/TeamConcert/configuration/org.eclipse.osgi/bundles/613/1/.cp/libswt-mozilla-gtk-3659.so (libxpcom.so: cannot open shared object file: No such file or directory)
swt-mozilla-gtk (Not found in java.library.path)
/tmp/swtlib-64/libswt-mozilla-gtk-3659.so (libxpcom.so: cannot open shared object file: No such file or directory)
/tmp/swtlib-64/libswt-mozilla-gtk.so (/tmp/swtlib-64/liblibswt-mozilla-gtk.so.so: cannot open shared object file: No such file or directory)
)
我在我的系统上运行了这个:
$ ldd libswt-mozilla-gtk-3659.so
linux-vdso.so.1 => (0x00007ffff5bff000)
libxpcom.so => not found
libnspr4.so => /usr/lib/x86_64-linux-gnu/libnspr4.so (0x00007ffc49b3e000)
libplds4.so => /usr/lib/x86_64-linux-gnu/libplds4.so (0x00007ffc49939000)
libplc4.so => /usr/lib/x86_64-linux-gnu/libplc4.so (0x00007ffc49734000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007ffc49431000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007ffc49134000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007ffc48f1e000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ffc48b5f000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007ffc48941000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007ffc4873d000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007ffc48535000)
/lib64/ld-linux-x86-64.so.2 (0x00007ffc49eb6000)
答案 0 :(得分:2)
这jazz.net thread提及:
这是一个日食问题(bug 343889) 许多Linux发行版最近都经历了xulrunner-2.0的升级,这与某些版本的eclipse不兼容。 (即使使用
xmlrunner-compat
包)检查xulrunner的版本。
如果是2.0,您可能想要在RTC中关闭嵌入式浏览器(不推荐) - 或 - 我所做的是将RTC安装到标准的Eclipse Indigo发行版中,该发行版与xulrunner-2一起使用 - 或 - 降级到之前的xulrunner(1.9)