Mac OS expects the Quit, About and Options menu items to be in the Application menu - but in our set-up, the Application menu is owned by X11, which renders those three important menu items inaccessible for NetBeans. Applications/NetBeans/NetBeans\ 6.1.app/Contents/MacOS/netbeans -jdkhome /sw/soylatte16-i386-1.0.2/ -laf .MetalLookAndFeel
To make the NetBeans IDE work with the new JDK 6, you have to start with the following two command line arguments (assuming the SoyLatte install path is /sw/): The SoyLatte JDK does not (yet) support the Apple-like Aqua look&feel, so you'll have to work from the terminal (X11.app). Setting up the NetBeans IDE for JDK 6 and JavaFX You should now be able to compile JavaFX code in the terminal using the javafxc and javafx commands. If it refuses to install because it doesn't see the JDK, start the installer with the open command from the Terminal (X11.app).
You should now be able to compile JDK 6 code in the terminal. Set up the JAVA_HOME and also add the JDK 6 directory to the PATH. Install the JDK 6 from and get Java 6 Documentation from. Here's the short version: Installing and Testing the SoyLatte JDK 6 I used the NetBeans wiki to keep notes on how I set up JDK 6, the JavaFX SDK and also configure NetBeans IDE as a tool to compile and run JavaFX apps. A nice guy named Landon Fuller hosts a free JDK 6 port for 32-bit Macs.
Download jdk 6 for netbeans mac os x#
The JavaFX JDK however requires JDK 6, and Apple's JDK 6 not only requires Mac OS X 10.5, but also an "Intel Core 2" processor (64 bit).īut there is hope. Unfortunately, my Mac was one of the last ones shipped with an "Intel Core" (32 bit) processor. Over the weekend I wanted to try out the new JavaFX SDK on my iMac at home. So no JavaFX on my Intel Core iMac, ever? :-o Not so fast! The JavaFX SDK is out, but on 32-bit Macs, the SDK installer can't find a JDK 6 and just quits.