JavaFX 2.2.7 Installation Guide
1 JavaFX 2.2.7 Installation for Microsoft Windows
This page provides information about the installing JavaFX 2.2.7 on Microsoft Windows, either bundled with JDK 7 or standaloine for use with JDK 6.
This page contains the following topics:
Download the JavaFX Installer that Meets Your Needs
How you install JavaFX depends on whether you can install JDK 7u15 (recommended) or need to use JDK 6.
If you use JDK 6, you will not be able to take advantage of all the latest JavaFX features, such as the ability to package self-contained applications, as described in the JavaFX Deployment Guide.
Install JDK 7 Bundled with JavaFX (Recommended)
JDK 7u15 includes the JavaFX 2.2.7 libraries. Go to the following location for download and installation information:
The JDK 7 installer does not uninstall JavaFX versions older than 2.2. If you wish to uninstall previous standalone versions, see Uninstalling the Standalone JavaFX SDK and Runtime.
The JDK 7u15 installer installs the following components, in this order:
Java Development Kit (JDK), including the JavaFX SDK libraries
Java Runtime Environment (JRE), including JavaFX Runtime libraries
After installation, the JavaFX SDK and Runtime libraries are integrated into the JDK and JRE directory structure. For more information, see JDK and JRE File Structure at
This is a change from releases of JavaFX prior to JDK 7u6/JavaFX 2.2, which were installed in directories independent from the JDK.
Install Standalone JavaFX for JDK 6
If you need to continue to use JDK 6 on Windows, you can install a standalone version of JavaFX 2.2.7.
The standalone JavaFX installer uninstalls any previous standalone version of JavaFX SDK and JavaFX Runtime.
To download the installer, go to the JavaFX download page at
There is a 32-bit or 64-bit JavaFX available. Use the bit version that matches that of your JDK installation.
The default installation directories for standalone JavaFX installations are as follows:
JavaFX SDK: C:\Program Files\Oracle\JavaFX 2.2 SDK.
JavaFX Runtime: C:\Program Files\Oracle\JavaFX 2.2 Runtime
Standalone JavaFX SDK File Structure
The standalone JavaFX 2.2.7 SDK contains the directories and content shown in Figure 1-1.
Contains the JavaFX Packager tool for compiling, packaging, signing, and deploying JavaFX applications.
Contains the API documentation. For the online version of the API documentation and JavaFX tutorials, see
Contains the following JavaFX utility jar files:
ant-javafx.jar: Ant tasks for packaging and deployment.
javafx-doclet.jar: A doclet for producing customized and nicely formatted documentation for the users of your JavaFX library.
javafx-mx.jar: A file used for debugging.
Contains a private, embedded copy of the JavaFX Runtime installation, used by JavaFX SDK development tools. You would typically point to the installed JavaFX Runtime instead.
Copyright information for the JavaFX software and documentation.
Provides a link to the README index page for the JDK, JavaFX SDK, JavaFX Runtime.
License information for third-party software included in the JavaFX SDK.
Uninstalling the Standalone JavaFX SDK and Runtime
To uninstall the standalone JavaFX SDK and JavaFX Runtime, use the standard Windows Add/Remove Programs utility in Control Panel. You must uninstall the JavaFX SDK and Runtime separately.
Note that for JavaFX 1.3.1 and earlier, you must uninstall using Java Control Panel. For more information about uninstalling standalone versions of JavaFX, see the JavaFX installation page at