Your search did not match any results.
We suggest you try the following to help find what you’re looking for:
* Disclaimer - this text represents the contents of the README.html file included in JavaFX 1.3.1. As these contents are dated, some links may no longer be valid.
The JavaFX™ Software Development Kit (SDK) provides the command-line tools and technologies to develop expressive content for applications deployed to browsers, desktops, mobile, and TV devices. The SDK includes the following components:
See the Release Notes for late-breaking information and known issues about the JavaFX SDK.
The system requirements for the JavaFX SDK, including the recommended version of the Java SE Development Kit (JDK), are listed in the JavaFX System Requirements document.
The following is a summary of the main directories in the SDK:
lib– Contains the Java archive (JAR) libraries necessary to compile and run JavaFX software applications
profiles– Contains the properties files for the platforms on which the SDK runs
samples– Contains the source code for sample applications written in the JavaFX Script programming language
The directory in the SDK contains command-line utilities for developing and executing programs written in the JavaFX Script programming language. The JavaFX command-line utilities are similar to the Java command-line utilities.
javafx– Executes a JavaFX application
javafxc– Compiles JavaFX source files on all profiles
javafxdoc– Creates JavaFXdoc documentation on all profiles
javafxpackager– Creates a package of a JavaFX application for all supported targets (desktop, mobile, and TV)
javafxw– Identical to the
javafxcommand, except that with
javafxwthere is no associated console window (Windows only)
For more information about these tools, see the documentation index page.
mobile subdirectory of the
emulator directory contains the JavaFX Mobile Emulator, a mobile phone simulation. Use the emulator to see how your JavaFX application runs on a mobile phone. The emulator runs compiled classes that are built by using the JavaFX Packager tool. For your code to be compatible with the emulator, you must use the Common and Mobile APIs.
On Windows, the basic command for building all source files for JavaFX and Java sources according to the mobile profile specification is:
\SDK-install-directory\bin\javafxpackager -src .\mysources -appClass mypackage.MyApplication -p mobile
The basic command syntax for running the mobile emulator on Windows is:
On Mac, use a forward slash (/) instead of a backslash (\).
The emulator supports different phone types. Use the
-Xquery option to list the supported devices. Use
-Xdevice:device_id to specify the device type. See the emulator documentation page for more information.
Note: If you are not able to start the emulator, try exiting the device-manager (if it is running, you will see an icon in the system tray or menu bar) and deleting the
javafx-sdkdirectory from your home directory.
tv subdirectory of the
emulator directory contains the JavaFX TV Emulator, which provides an environment for demonstrating JavaFX applications in an emulated television environment.
The following command builds all source files for JavaFX and Java sources according to the TV profile specification into
\SDK-install-directory\bin\javafxpackager -src .\mysources -appClass mypackage.MyApplication -p tv
The basic command syntax for running the TV emulator is:
\SDK-install-directory\bin\javafx -profile tv -jar path_to_jar_file
docs directory includes the following tools and API documentation:
samples directory contains numerous samples that demonstrate the features of the JavaFX Script programming language. You can quickly view the samples on the desktop as follows.
A page opens with a description of the sample, a live copy of the running sample, and links to the JavaFX source files.