This article is from my translation at javaeyeArticleHttp://somefuture.iteye.com/blog/1190070
Through this article, you will learn how to install javafx2.0 in windows. You have two options:
- Install the javafx SDK, including the javafx Runtime
- Install javafx only
This document also guides you how to run the sampleProgramAnd how to build the Nb environment of javafx.
The MAC system also has its own javafx 2.0 Developer Preview version. For details, see
Third.
Install javafx SDK
If you want to use ide or command line to develop a javafx application, install the javafx SDK. The SDK includes javafx class libraries and engineering files.
How to install javafx SDK:
Check your system requirements
To
Http://www.oracle.com/technetwork/java/javafx/downloads/index.htmlfind javafx SDK for your System Version Download and save.
Run the. exe file.
How to uninstall javafx SDK:
Uninstall using a standard uninstall program.
Install javafx Runtime
If you want to run the javafx application on your desktop, in your browser, or using Java Web Start over the network, you can only install the runtime.
Note; If you have successfully installed the javafx SDK, you do not need to install the runtime separately. |
How to install javafx runtime:
Check System Requirements
Find and download the version of your system.
Run the. exe file.
How to uninstall javafx Runtime
Uninstall using a standard uninstall program
Run the sample program
Download the javafx sample program, which contains a series of applications built with javafx. To run them, you must install a runtime with good luck.
To
Http://www.oracle.com/technetwork/java/javafx/downloads/index.html.click the javafx 2.0 sampleslink to save javafx_samples-2_0.zip to your local device.
Extract the sample file from the ZIP file to the local directory.
Enter the directory.
Double-click any executable file to run it. For example, to run the ensemble application on the desktop, double-click ensemble. jar. To run it in a browser, double-click HTML. Ensemble. JNLP is enabled to run through the network.
TheSource codeAll under the javafx-samples-2.0 \ src directory. You want to view the sourceCode, To the javafx-samples-2.0 \ SRC \ sample directory, there are applications you are interested in. The source code of each sample is a Nb project.
Build a javafx netbeans Environment
Follow the fourth step to build the Nb environment.