In order to use Java FX in Netbeans I installed java jdk 7 by ppa. According to a Netbeans instruction I tried to enable JavaFX in the Java Platforms in Netbeans. The problem is that I have to enter the paths to FX:
Note: This image is only an example from the instruction, my platform is "JDK 1.7".
Where is JavaFX located when installed with jdk7 by ppa?
(I checked the java version and it is
1.7.0_03so FX should be included)
I don't think JavaFX is co-bundled in the version of Java which you installed.
I believe you (currently) need to:
Its now co-bundled with JDK 7 for Windows, Mac and Linux .. see: http://www.oracle.com/technetwork/java/javafx/downloads/index.html
basically you would need to enable JavaFX .. just add the same JDK manually and check if it has JAVAFX SDK .. if not, then install JDK7 ( mine is JDK1.7.0_22 ) , follow this how to install JDK on ubuntu 12.10 : http://www.vikramtakkar.com/2013/02/how-to-install-oracle-jdk-7-to-ubuntu.html
and then just select that JDK via Java platforms and enable JavaFX .. and its gonna work
my ubuntu is 12.10 64-bit