The second step is to install the javafx2.0 SDK.

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.