eclipse Ubuntu 中的 JavaFX Scene Builder 路径

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/34385294/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 22:59:52  来源:igfitidea点击:

JavaFX Scene Builder path in Ubuntu

javaeclipseubuntujavafxscenebuilder

提问by user294159

Can anyone please tell me where I can find the path to the correct files for Scene Builder on Ubuntu to get it linked in my preferences with Eclipse IDE.

任何人都可以告诉我在哪里可以找到 Ubuntu 上 Scene Builder 的正确文件的路径,以便将它链接到我的 Eclipse IDE 首选项中。

回答by Duc Dat Nguyen

if you installed Scene builder through ubuntu Software Center then the path should be "/opt/SceneBuilder/"

如果您通过 ubuntu 软件中心安装了 Scene builder,那么路径应该是“/opt/SceneBuilder/”

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

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

回答by Michael_H

  1. Start Scene Builder
  2. Show the path of the executable by running the following command in terminal

    ps aux | grep Scene

  1. 启动场景生成器
  2. 通过在终端中运行以下命令来显示可执行文件的路径

    ps辅助| 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

输出:
用户 9386 9.2 3.0 5422044 245152 ? Sl 11:38 0:12 /opt/SceneBuilder/SceneBuilder
用户 9525 0.0 0.0 15800 932 pts/2 S+ 11:40 0:00 grep --color=auto 场景

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).

输出第一行的最后一个字符串是可执行文件的路径。无论您如何安装 Scene Builder(Ubuntu 软件中心、Jar、RPM 或 DEB 包),这都应该有效。

回答by Malith Ileperuma

The default path is "opt/SceneBuilder"

默认路径是“opt/SceneBuilder”

回答by Ishanka Nirmal

select these path in your IDE opt/SceneBuilder

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