如何在Linux上从Gluon运行SceneBuilder?

时间:2019-01-17 18:18:33

标签: javafx scenebuilder gluon

我在计算机上下载了scenebuilder-10.0.0-all.jar,并尝试启动它:

案例1)

$ java -jar scenebuilder-10.0.0-all.jar
Error: Could not find or load main class com.oracle.javafx.scenebuilder.app.SceneBuilderApp
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application

案例2)

$ chmod +x ./scenebuilder-10.0.0-all.jar
$ ./scenebuilder-10.0.0-all.jar
./scenebuilder-10.0.0-all.jar: line 1: $'PK\003\004': command not found
./scenebuilder-10.0.0-all.jar: line 2: $'\b\b\200h\305L\002': command not found
./scenebuilder-10.0.0-all.jar: line 3: syntax error near unexpected token `$'\320\v\006''
K-*▒▒ϳR0▒3▒▒▒M▒▒▒u▒I,.▒RH▒▒▒▒/JL▒I▒▒J,KL▒▒+NN▒KM*▒▒II-▒K,(▒NIFEST.MF▒M▒▒LK-.▒

java :11

$ java -version
java version "11.0.2" 2018-10-16 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.2+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+7-LTS, mixed mode)

感谢您的帮助

0 个答案:

没有答案