简体   繁体   中英

Can't create JavaFX project within Netbeans on Linux

so I'm struggling with this issue quite a while now. I want to create a new JavaFX project within Netbeans, but I don't have the option to choose JavaFX from the list. Since I have the most recent java version, JavaFX should be included in the SDK right? I also looked up if I have the jfxrt.jar in the directory /usr/local/jdk1.8.0_111/jre/lib/ext and I do. So how comes that I can't create a regular JavaFX project? Am I missing out on something?

$ java -version
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)

Thank you in advance!

For those who are also having the same problem (can't find JAVAFX plugin(s) in the 'Installed' tab, see @Fabian comment answer):

  1. Go to 'Settings' tab (in Tools -> Plugins)
  2. Check both boxes 'Certified Plugins' and 'Netbeans Distribution'.
  3. Go to 'Available Plugins' and press 'Check for Newest'.
  4. You should see JAVAFX plugin(s).
  5. Install them and restart your IDE.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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