How to get JavaFx to work in Netbeans (on stretch)?

If none of the more specific forums is the right place to ask

How to get JavaFx to work in Netbeans (on stretch)?

Postby filipez1102 » 2019-07-25 08:44

JavaFx support appears to be missing from my Netbeans installation.

I've installed java (java-common, openjdk, etc.), openjfx, and Netbeans on a stretch 9.3 system, using standard deb packages.

Netbeans works, but there's no 'JavaFx Application' option in Netbeans 'File -> New Projects'. According to Netbeans documentation netbeans documentation it should be there.

FYI the current Netbeans deb package contains Netbeans 8.1, which should contain JavaFX support.

Any ideas about how to get this to work?

Posts: 1
Joined: 2019-07-25 08:41

Re: How to get JavaFx to work in Netbeans (on stretch)?

Postby ruwolf » 2019-07-25 15:02

What about this guide? (I have changed 8 to 11) JavaFX missing, Ubuntu 18.04 wrote:Check that JDK 11 is selected as the default Java version in Netbeans -> Tools -> Options -> Java -> Nashorn tab -> click the Manage Platforms button -> click the Add Platform button -> click the radio button marked Java Standard Edition -> click the Next button -> browse to /usr/lib/jvm/java-11-openjdk-amd64 and select it as the default Java version.

Maybe you should check JAVA_HOME and JAVAFX_HOME environment variables, too...
User avatar
Posts: 392
Joined: 2008-02-18 05:04
Location: Slovakia, Banovce nad Bebravou, Matice slovenskej 1260/4-7

Return to General Questions

Who is online

Users browsing this forum: No registered users and 5 guests