Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
899 views
in Technique[技术] by (71.8m points)

ubuntu - SceneBuilder crashed upon startup

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.

Error Part 1 Error Part 2 Error Part 3 Error Part 4

Do you know what that can be and how I can solve it?

Thank you very much in advance!

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...