Ubuntu中的JavaFX场景生成器路径

use*_*159 3 java eclipse ubuntu javafx scenebuilder

任何人都可以告诉我在哪里可以找到Ubuntu上的Scene Builder正确文件的路径,以便在我的偏好中使用Eclipse IDE链接它.

小智 13

如果您通过ubuntu软件中心安装了场景构建器,则路径应为"/ opt/SceneBuilder /"

http://linuxsagas.digitaleagle.net/2013/01/31/java-fx-eclipse-ubuntu/preferences-_185/


Mic*_*l_H 5

  1. 启动Scene Builder
  2. 通过在终端中运行以下命令来显示可执行文件的路径

    ps aux | grep场景

Output:
user 9386 9.2 3.0 5422044 245152 ? Sl 11:38 0:12 /opt/SceneBuilder/SceneBuilder
user 9525 0.0 0.0 15800 932 pts/2 S+ 11:40 0:00 grep --color=auto Scene

The last string in the first line of the output is the path of the executable. This should work regardless of how you installed Scene Builder (Ubuntu Software Center, Jar, RPM or DEB package).


小智 5

在 IDE 中选择这些路径opt/SceneBuilder