SceneBuilder 在启动时崩溃 [英] SceneBuilder crashed upon startup
问题描述
我在带有 Java Hotspot 的 Ubuntu Gnome 17.04 上安装了 SceneBuilder 8.3.0安装了1.8.0_131,但是尝试启动的时候报错,无法初始化.我已经尝试安装 Oracle 的 SceneBuilder 2.0,但出现同样的错误.
I performed the installation of SceneBuilder 8.3.0 on Ubuntu Gnome 17.04 with Java Hotspot 1.8.0_131 installed, but when trying to start it, an error occurs, making it impossible to initialize. I've already tried installing Oracle's SceneBuilder 2.0, but the same error occurs.
你知道这可能是什么以及我如何解决它吗?
Do you know what that can be and how I can solve it?
在此先非常感谢您!
推荐答案
我注意到用java Hotspot直接调用SceneBuilder jardist.jar",应用程序启动很顺利(java - jar/opt/SceneBuilder/app/dist.jar").所以姑息解决这个问题的一种方法是编辑文件/usr/share/applications/SceneBuilder.desktop"并更改行:
I noticed that calling directly the SceneBuilder jar "dist.jar" with the java Hotspot, the application launches smoothly ("java - jar /opt/SceneBuilder/app/dist.jar"). So one way to solve this problem palliatively is to edit the file "/usr/share/applications/SceneBuilder.desktop" and change the line:
Exec=/opt/SceneBuilder/SceneBuilder
用于:
Exec=java -jar /opt/SceneBuilder/app/dist.jar
这篇关于SceneBuilder 在启动时崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!