简体   繁体   English

Intellij IDEA中如何使用openjfx-11存档?

[英]How openjfx-11 archive used in Intellij IDEA?

I download the archive openjfx-11-ea+13_windows-x64_bin-sdk and OpenJDK. 我下载了档案openjfx-11-ea + 13_windows-x64_bin-sdk和OpenJDK。 Then I create a JavaFX Application project and write a demo in Intellij IDEA (1.8.3). 然后,我创建一个JavaFX Application项目并在Intellij IDEA(1.8.3)中编写一个演示。

For Compile the project,in IDEA "Module Setting" ->"Dependencies",I set the "lib" directory as the jars and set the"bin" directory as the"Native Library Locations". 对于编译项目,在IDEA的“模块设置”->“依赖关系”中,将“ lib”目录设置为jar,将“ bin”目录设置为“本地库位置”。

But when I run the Application,console show "javafx runtime components are missing". 但是,当我运行该应用程序时,控制台显示“缺少Javafx运行时组件”。

I do not know how to use the seprate openjfx with openjdk. 我不知道如何在openjdk中使用单独的openjfx。

Thank you for ur help 谢谢您的帮助

Press Ctrl+Shift+Alt+S and go to libraries and add folders you need. 按Ctrl + Shift + Alt + S并转到库并添加所需的文件夹。 This should work fine. 这应该工作正常。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM