操作系统:Ubuntu 14.04。
IDE:(Eclipse Mars.1 版本 (4.5.1))和场景构建器 2。
I can't choose root element because as I understand it should be done.
This window I see when creating a file.
Maybe I incorrectly set the path to my Scene Builder executable.
如何解决这个问题呢?
我按照指示 http://docs.oracle.com/javase/8/scene-builder-2/installation-guide/jfxsb-installation_2_0.htm.
Update 1: Not yet solved the problem, I'll use the
Idea IDE https://www.jetbrains.com/idea/help/preparing-for-javafx-application-development.html
Update 2: Now i use Netbeans with JDK from ORACLE
website http://www.oracle.com/technetwork/developer-tools/netbeans/downloads/index.html. I chose the easiest way.
我通过在项目中引用JavaFX库解决了这个问题。一种方法是右键单击 Eclipse 中的项目文件夹,然后选择“构建路径”->“添加外部存档”。
JavaFX 存档,名为jfxrt.jar
位于目录中jre\lib\ext
你的 JDK 目录。
令人惊讶的是,JavaFX 库不会自动链接到 JavaFX 项目中...此操作还允许构建 JavaFX 示例项目,否则这些项目将无法编译。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)