Fabian Witeczek
Fabian Witeczek

Reputation: 21

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!

Upvotes: 1

Views: 2135

Answers (1)

Ashlanfox
Ashlanfox

Reputation: 59

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.

Upvotes: 1

Related Questions