问题
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?
Thank you very much in advance!
回答1:
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
for:
Exec=java -jar /opt/SceneBuilder/app/dist.jar
来源:https://stackoverflow.com/questions/44659100/scenebuilder-crashed-upon-startup