JavaFX 2.2.21 Installation Guide

This page provides information about the installing the standalone JavaFX 2.2.21 on Microsoft Windows for use with Java SE 6u45.

JDK 7 users should not use the standalone JavaFX installer. The JavaFX 2.2.21 SDK and Runtime libraries are integrated into Java SE 7u21, which is available for download at


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.

This page contains the following topics:

Installing JavaFX for JDK 6u45 on Windows Platforms

To download the standalone JavaFX 2.2.21 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.

Run the downloaded installer. Any previous standalone version of JavaFX 2 SDK and JavaFX Runtime will be uninstalled.

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.21 SDK contains the directories and content shown in Figure 1.

Figure 1 File Structure of the Standalone JavaFX 2.2.21 SDK on Windows

See the followig description.

Contains the javafxpackager 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