Friday, March 16, 2012

Installing JavaFX 2.0 and NetBeans 7.7.1


My first blog post will cover the most essential part => Installing JavaFX 2.0 and setting up your development environment.
As of Java SE 7 Update 2, Java SE includes JavaFX 2.0, so if you don´t have a version of Java installed, go for this package. If you already have installed a different Java SE/EE version you can also download JavaFX 2.0 stand-alone.

Here is the download of the latest Java SE version, which is 7 Update 3:

If you want to install Java EE as well, you can download the package with JavaSE and JavaEE.
Note: It is "only" JavaSE 7 Update1, which means, that JavaFX 2.0 isn´t included. If you download this package, you´ll have to download the JavaFX 2.0 SDK separately.

The standalone version of JavaFX 2.0 can be found here:

Either way, simply download the appropriate file for your operating system and follow the installation instructions.

After installing Java/JavaFX 2.0 we also need an IDE. I turned into a NetBeans guy about 1 year ago, but you can also use Eclipse, IntelliJ IDEA or something different, but I will only cover NetBeans in this blog. I´ll also use NetBeans 7.1.1 for the upcoming JavaFX 2.0 beginner tutorials.

The newest version of NetBeans can be found here:

You can choose between different bundles, depending on what kind of applications you plan to develop. 
If you also want to develop JavaEE applications as well, you should download the JavaEE bundle. Otherwise, the JavaSE bundle will be enough for our purposes.
Assuming you installed the Java SDK and the JavaFX 2.0 SDK correctly, NetBeans will automatically find your Java SDKs as seen in the following picture.


Follow the last instructions and complete the installation.

My next blog post will cover the famous "Hello World" example in JavaFX 2.0.





No comments:

Post a Comment