Sunday, 15 January 2012

Setting Up NetBeans IDE With JavaFX 2.0

JavaFX is a powerful Java-interface platform capable of handling large-scale data-driven applications business. JavaFX 2.0 is a major update to the platform, JavaFX.Starting with this version, developers can create JavaFX applications entirely in Java.
IDE NetBeans supports the creation of applications JavaFX 2.0.
Complete the installation environment IDE NetBeans with JavaFX 2.0 SDK is available on the download site JavaSE. JavaFX SDK is a set of Java-7u2 youdownload from this site. You can also install the NetBeans IDE and the JavaFX 2.0 SDK separately. This document describes how to configure the environment IDE NetBeans with JavaFX 2.0 SDK when you install the IDE and SDK separately.

Installing NetBeans IDE and JavaFX 2.0 SDK

Install JavaFX 2.0 from the JavaFX download site. JavaFX 2.0 requires Java JDK 1.6.0 update 26 or later, or Java 7. JavaFX does not run on all operating systems. Check the JavaFX System Requirements document to see which platforms are supported by JavaFX. The system requirements for JavaFX 2.0 also let you install NetBeans IDE.
Note that when you install JavaFX 2.0 SDK, you actually install two packages: the JavaFX 2.0 SDK and the JavaFX 2.0 Runtime.
If you are using Windows, consider installing JavaFX 2.0 to the default location (C:\Program Files\Oracle\). NetBeans IDE checks the default Windows locations for JavaFX 2.0 SDK and JavaFX 2.0 Runtime. If JavaFX 2.0 is in the default locations, you have less to configure. Also note that if you use the Windows .exe installer, you can change the installation location of the SDK package but not the Runtime package. JavaFX 2.0 Runtime is always installed to the default location by the .exe installer.
Warning: If you have older versions of JavaFX 2.0 (pre-b46) installed on your computer, manually uninstall them and make sure their directories are deleted. The JavaFX installer does not always uninstall older versions of JavaFX 2.0 correctly, which can lead to the wrong version being used. NetBeans IDE does not support earlier versions of JavaFX 2.0.


No comments:

Post a Comment