1

今天我从https://modellus5.googlecode.com/files/ModellusX_unix_0_4_04.sh下载了 Modellux X

在允许它执行并检查 Java 版本后,我继续安装,没有错误。

当我尝试执行时,我得到:

java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: Can't load library: /home/javier/ModellusX/amd64/libglass.so

at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:281)
at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:124)
at javafx.embed.swing.JFXPanel.initFx(JFXPanel.java:182)
at javafx.embed.swing.JFXPanel.<init>(JFXPanel.java:199)
at Modellus.WinUI.Animator.AnimationPanel.<init>(AnimationPanel.java:39)
at Modellus.WinUI.InternalFrames.AnimatorInternalFrame.<init>(AnimatorInternalFrame.java:25)
at Modellus.WinUI.ModellusFrame.ModellusFrame.createAndShowGUI(ModellusFrame.java:301)
at Modellus.WinUI.ModellusFrame.ModellusFrame.access$100(ModellusFrame.java:40)
at Modellus.WinUI.ModellusFrame.ModellusFrame$8.run(ModellusFrame.java:326)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

java版本是

  javier@javier-Aspire-5536 ~ $ java -version
java version "1.7.0_25"
OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1ubuntu0.13.04.2)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)

我的系统信息

javier@javier-Aspire-5536 ~ $ uname -v
#29-Ubuntu SMP Wed Apr 17 18:16:28 UTC 2013
javier@javier-Aspire-5536 ~ $ uname -r
3.8.0-19-generic
4

1 回答 1

0

要修复此错误,您必须将所有本机 javaFX 库从 $JRE_PATH/lib/amd64" 复制到 "~/ModelusX/amd64" 文件夹。本机 JAVAFX 库是:

在此处输入图像描述

要详细了解本地 JAVAFX 库,请单击此处

于 2014-04-23T21:01:57.920 回答