JavaFX 1.1 On Linux: NetBeans Plugin Howto

0) You should install JDK 1.6 update 12 and NetBeans 6.5 first.

1) goto http://dlc.sun.com.edgesuite.net/netbeans/updates/6.5/uc/final/stable/patch2/javafx2/, download all nbm files except the org-netbeans-modules-javafx-sdk-win.nbm file.

2)  extract the org-netbeans-modules-javafx-sdk-mac.nbm file. (nbm file is zip format)

3) goto the extracted directory, do these:

    a) replace the info/info.xml with my new one.

    b) delete all files in the META-INF directory.

    c) replace the netbeans/config/Modules/org-netbeans-modules-javafx-sdk-mac.xml file with org-netbeans-modules-javafx-sdk-linux.xml

    d) replace the netbeans/modules/org-netbeans-modules-javafx-sdk-mac.jar file with org-netbeans-modules-javafx-sdk-linux.jar

4) create a new zip file from the extracted directory, rename it to org-netbeans-modules-javafx-sdk-lin.nbm, replace the org-netbeans-modules-javafx-sdk-mac.nbm file with this new one.

5) open netbeans and install all the nbm files (ignore the nbm file signature warning).

6) restart netbeans and enjoy JavaFX on Linux, you can even debug JavaFX on Linux.

the new files is here org-netbeans-modules-javafx-sdk-lin.nbm.zip.

Thanks Weiqi Gao for his blog JavaFX 1.0 On Linux: NetBeans Plugin, but this method does not work with JavaFX 1.1

你可能感兴趣的:(jdk,xml,linux,Netbeans,JavaFX)