问题描述
我正在尝试在我的主机上执行 WindRiver 工作台.但是,它崩溃了,日志文件如下所示.
I am trying to execute the WindRiver workbench on my host.However, it crashed and the log file as shown in the following.
我电脑当前安装的java版本:
The java version currently installed on my computer:
java version "1.7.0_79"
OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-0ubuntu0.14.04.2)
OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)
我怀疑这是由 Java 版本引起的.
I suspect this is caused by the version of Java.
如果你知道如何解决它,请告诉我
Please let me know if you know how to fix it
ON 2015-08-25 18:56:33.830 -----------------------------------------------
eclipse.buildId=M20130131-0800/WB20141023-0742
java.version=1.6.0_21
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86
!ENTRY org.eclipse.osgi 4 0 2015-08-25 18:57:02.301
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: com.windriver.core.runtime.jni.Env.setEnv(Ljava/lang/String;Ljava/lang/String;)I
at com.windriver.core.runtime.jni.Env.setEnv(Native Method)
at com.windriver.ide.common.core.installregistry.WREnv.setSystemEnv(WREnv.java:805)
at com.windriver.ide.common.core.installregistry.WRInstallRegistry.initWorkbenchEnvironment(WRInstallRegistry.java:631)
at com.windriver.ide.common.core.installregistry.WRInstallRegistry.init(WRInstallRegistry.java:484)
at com.windriver.ide.common.core.installregistry.WRInstallRegistry.getInstance(WRInstallRegistry.java:550)
at com.windriver.ide.application.UnifiedSWTSwingApplication.checkPreconditions(UnifiedSWTSwingApplication.java:148)
at com.windriver.ide.application.CopyOfIDEApplication.start(CopyOfIDEApplication.java:136)
at com.windriver.ide.application.UnifiedSWTSwingApplication.access$2(UnifiedSWTSwingApplication.java:1)
at com.windriver.ide.application.UnifiedSWTSwingApplication.start(UnifiedSWTSwingApplication.java:70)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
at org.eclipse.equinox.launcher.WRWBMain.main(WRWBMain.java:37)
!SESSION 2015-08-25 18:57:09.758-----------------------------------------------
我怀疑这是因为我的 Workbench 是 32 位,而我的主机是 64 位.
I suspect this is because my Workbench is 32 bit while my host is 64 bit.
有任何反馈吗?
推荐答案
我 WAS 在使用 WorkBench 时遇到了同样的错误.我也在 Ubuntu 14.x 64 位上运行.
I WAS getting the same error with WorkBench. I'm also running on Ubuntu 14.x 64-bit.
似乎在 Ubuntu 13.x 和 14.x 之间删除了软件包.
我安装了这些软件包,现在我的 WorkBench 加载了:
I installed these packages and my WorkBench now loads:
sudo apt-get install libgtk2.0-0:i386
sudo apt-get install libxtst-dev
sudo apt-get install libxtst-dev:i386
sudo apt-get install gtk2-engines-murrine:i386
sudo apt-get install lib32stdc++6
sudo apt-get install libxpm4:i386
sudo apt-get install libuuid1:i386
这篇关于执行 WindRiver 工作台时的错误消息 - 主机:Ubuntu 14.04的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!