Javafx how to install

Javafx how to install

Installing the JavaFX SDK

This document applies to the following versions of the JavaFX SDK: 1.2, 1.2.1, 1.2.3.
January 2010

The JavaFX Software Development Kit (SDK) provides the command-line tools and technologies to develop expressive content for applications deployed to browsers, desktops, and mobile devices.

The JavaFX SDK runs on Windows and Mac OS X. A beta release of the JavaFX SDK is provided for Ubuntu Linux and the OpenSolaris operating systems.

Contents

System Requirements

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.

Installing the JavaFX SDK on Windows or Mac

On Mac OS X, the installation procedure also creates the following directories:

For information about samples and documentation in the SDK, see the README file in the top level of the SDK directory.

Installing the JavaFX SDK on Ubuntu Linux or OpenSolaris

The shell script installs the JavaFX SDK in the current directory.

For information about samples and documentation in the SDK, see the README file in the top level of the SDK directory.

More Information

Discussion

We welcome your participation in our community. Please keep your comments civil and on point. You can optionally provide your email address to be notified of replies your information is not used for any other purpose. By submitting a comment, you agree to these Terms of Use.

Release: JavaFX 2.2.5

Last Updated: February 2013

[+] Show/Hide Table of Contents

JavaFX 2.2.5 Installation Guide Overview

1 JavaFX 2.2.5 Installation for Microsoft Windows

2 JavaFX 2.2.5 Installation for Linux

3 JavaFX 2.2.5 Installation for Mac OS X

4 I Installed JavaFX, Now What?

We Welcome Your Comments

If you have questions about JavaFX, please go to the forum.

JavaFX 2.2.5 Installation Guide

Javafx how to install. Смотреть фото Javafx how to install. Смотреть картинку Javafx how to install. Картинка про Javafx how to install. Фото Javafx how to install

Javafx how to install. Смотреть фото Javafx how to install. Смотреть картинку Javafx how to install. Картинка про Javafx how to install. Фото Javafx how to install

1 JavaFX 2.2.5 Installation for Microsoft Windows

This page provides information about the installing JavaFX 2.2.5 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 7u11 (recommended) or need to use JDK 6.

Install JDK 7 Bundled with JavaFX (Recommended)

JDK 7u11 includes the JavaFX 2.2.5 libraries. Go to the following location for download and installation information:
http://www.oracle.com/technetwork/java/javase/downloads/

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 7u11 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
http://docs.oracle.com/javase/7/docs/technotes/tools/windows/jdkfiles.html

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.5.

The standalone JavaFX installer uninstalls any previous standalone version of JavaFX SDK and JavaFX Runtime.

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

Figure 1-1 File Structure of the Standalone JavaFX 2.2.5 SDK on Windows

Javafx how to install. Смотреть фото Javafx how to install. Смотреть картинку Javafx how to install. Картинка про Javafx how to install. Фото Javafx how to install

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
http://docs.oracle.com/javafx/

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.

After Installation

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.

Release: JavaFX 2.2.3

Last Updated: October 2012

[+] Show/Hide Table of Contents

JavaFX 2.2.3 Installation Guide

1 JavaFX 2.2.3 Installation for Microsoft Windows

2 JavaFX 2.2.3 Installation for Linux

3 JavaFX 2.2.3 Installation for Mac OS X

4 I Installed JavaFX, Now What?

We Welcome Your Comments

If you have questions about JavaFX, please go to the forum.

JavaFX 2.2.3 Installation Guide

Javafx how to install. Смотреть фото Javafx how to install. Смотреть картинку Javafx how to install. Картинка про Javafx how to install. Фото Javafx how to install

4 I Installed JavaFX, Now What?

Congratulations! You installed JavaFX, either as part of the JDK 7 cobundle or as a standalone installation for JDK 6. Now what?

This page contains the following sections.

Download and Run JavaFX Samples

Download the JavaFX sample zip file and try running one of the pre-built JAR files. Then open the NetBeans IDE projects and look at the source code.

Scroll to the section «JavaFX Demos and Samples Downloads,» then click the link to download the samples for your operating system.

Extract the files to your file system, then open the samples_readme.txt for more information about how to run the samples and set up the source projects in the NetBeans IDE.

Install NetBeans IDE

NetBeans IDE 7.2 is recommended for JavaFX 2.2.3. Download it at
http://netbeans.org/downloads/

For information about configuring NetBeans IDE to run with JavaFX, see «Setting Up NetBeans IDE With JavaFX» at
http://netbeans.org/kb/docs/java/javafx-setup.html

Check Out the JavaFX 2 Tutorials and Documentation

Learn JavaFX by working through the Getting Started tutorials. Then check out the other documentation available at
http://docs.oracle.com/javafx/

Try Out JavaFX Scene Builder

JavaFX Scene Builder is a design tool for the JavaFX platform. You can download it from the JavaFX download page at one of the following locations, depending on your operating system:

Troubleshooting

Here are some tips for working around problems that are sometimes seen during or following an installation.

Test Both JavaFX and Java Applications

If the JavaFX samples do not run, try running Java samples to isolate the problem. You can download Java samples from the Java SE download page at
http://www.oracle.com/technetwork/java/javase/downloads/

Check the Supported Environments

Check the system requirements to verify that you have a supported environment. Consult the appropriate system requirements document:

Check Whether Your Installation is 64-Bit or 32-Bit

With Windows or Linux installations, if you installed a 64-bit version, you may have problems with applications that run on 32 bits. Note that the 32-bit version is compatible with both 32-bit and 64-bit systems, but the reverse is not true. See the JavaFX Supported System Configurations at
http://www.oracle.com/technetwork/java/javafx/downloads/supportedconfigurations-1506746.html

Mac requires a 64-bit installation.

Check the Release Notes

Check the JavaFX 2.2.3 release notes for known issues.

Ask a Question on the JavaFX Forum

If you still have unresolved issues, go to the JavaFX Forum at
https://forums.oracle.com/forums/forum.jspa?forumID=1385

File a Bug or Feature Request

See also How to file a bug or submit a feature request on the OTN discussion forums.

Release: JavaFX 2.1.1

Last Updated: June 2012

[+] Show/Hide Table of Contents

JavaFX 2.1.1 Installation Guide

1 JavaFX Installation for Microsoft Windows

2 JavaFX Installation for Mac OS X

We Welcome Your Comments

If you have questions about JavaFX, please go to the forum.

JavaFX 2.1.1 Installation Guide

Javafx how to install. Смотреть фото Javafx how to install. Смотреть картинку Javafx how to install. Картинка про Javafx how to install. Фото Javafx how to install

Javafx how to install. Смотреть фото Javafx how to install. Смотреть картинку Javafx how to install. Картинка про Javafx how to install. Фото Javafx how to install

1 JavaFX Installation for Microsoft Windows

This page provides information about the installing the JavaFX 2.1.1 SDK on Microsoft Windows.

See the following topics:

Download the JavaFX Installer that Meets Your Needs

There are various ways that you can install JavaFX 2.1.1.

You can install JDK 7 update 5 (including the JRE) and JavaFX 2.1.1 SDK (including the JavaFX Runtime) with a single installer. Get the JDK 7u5 installer at
http://www.oracle.com/technetwork/java/javase/downloads/

If you want to use JavaFX with Java SE 6, this option is available for Windows only, and only until Java SE 6 reaches End-Of-Life in November 2012. To run JavaFX with Java SE 6, download and install the JavaFX 2.1.1 SDK standalone installer (which also installs the JavaFX 2.1.1 Runtime) from the JavaFX Downloads page at
http://www.oracle.com/technetwork/java/javafx/downloads/

If you only want to run JavaFX applications but do not plan to develop them, download the Java SE 7 update 5 JRE from the Java SE Downloads page at
http://www.oracle.com/technetwork/java/javase/downloads/index.html

For Windows installations, there is a 32-bit or 64-bit JavaFX available for whichever JDK you have installed. If you have both the 32-bit and 64-bit JDK installed, download the 64-bit JavaFX SDK.

Whichever installer you download, it is important that you check the system requirements at the following locations:

JavaFX Installation Instructions

Only one version of the JavaFX SDK and JavaFX Runtime can be installed at a time. The JavaFX Runtime installer will automatically uninstall previous versions.

Java Development Kit (JDK)

Java Runtime Environment (JRE)

JavaFX Software Development Kit (SDK)

The default installation directory for the JavaFX 2.1.1 SDK is C:\Program Files\Oracle\JavaFX 2.1 SDK. See JavaFX SDK File Structure for the directories and contents.

The default installation directory for the JavaFX 2.1.1 Runtime is C:\Program Files\Oracle\JavaFX 2.1 Runtime.

For more information about JDK installation and system requirements, see the JDK Installation Guide at
http://docs.oracle.com/javase/7/docs/webnotes/install/

Installing NetBeans IDE

The JavaFX 2.1.1 SDK requires a minimum of NetBeans IDE 7.1.2. Download the NetBeans IDE from the JavaFX Downloads page.

For information about configuring NetBeans IDE to run with JavaFX, see Setting Up NetBeans IDE With JavaFX at
http://netbeans.org/kb/docs/java/javafx-setup.html

Viewing and Using JavaFX Samples

Sample JavaFX applications are available to download as a zip file from the JavaFX Downloads page.

Extract the files to your file system, then open samples_readme.txt for more information.

JavaFX Scene Builder

JavaFX Scene Builder is a design tool for the JavaFX platform. You can download it from the following location:
http://www.oracle.com/technetwork/java/javafx/downloads/devpreview-1429449.html

JavaFX SDK File Structure

By default, the JavaFX SDK software is installed at C:\Program Files\Oracle\JavaFX 2.1 SDK.

To verify that you have JavaFX 2.1.1 installed, go to Add/Remove Programs in Control Panel. JavaFX 2.1.1 and JavaFX 2.1.1 SDK will appear in the list of installed programs.

The JavaFX SDK contains the directories and content shown in Figure 1-1.

Figure 1-1 Directories and Content of the JavaFX SDK on Windows

Javafx how to install. Смотреть фото Javafx how to install. Смотреть картинку Javafx how to install. Картинка про Javafx how to install. Фото Javafx how to install
Description of «Figure 1-1 Directories and Content of the JavaFX SDK on Windows»

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
http://docs.oracle.com/javafx/

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, whose default location is C:\Program Files\Oracle\JavaFX 2.1 Runtime

This directory contains the same set of JAR files as the lib directory and is maintained for backward compatibility with NetBeans 7.1.1.

Copyright information for the JavaFX software and documentation.

Provides a link to the README index page for the Java SE, JavaFX SDK, JavaFX Runtime.

License information for third-party software included in the JavaFX SDK.

Uninstalling JavaFX

To uninstall JavaFX, use the standard Windows Add/Remove Programs utility in Control Panel. You must uninstall the JavaFX SDK and Runtime separately.

Troubleshooting

Here are some tips for working around problems that are sometimes seen during or following an installation.

If you installed the 64-bit version, you may have problems with applications that run on 32 bits. Note that the 32-bit version is compatible with both 32-bit and 64-bit systems, but the reverse is not true. See the JavaFX Supported System Configurations at
http://www.oracle.com/technetwork/java/javafx/downloads/supportedconfigurations-1506746.html

Try running the JavaFX pre-built samples. See Viewing and Using JavaFX Samples.

Check your JDK/JRE installation running a standard Java applet, Web Start application, or standalone JAR application.

Release: JavaFX 2.0.2

Last Updated: December 2011

[+] Show/Hide Table of Contents

We Welcome Your Comments

If you have questions about JavaFX, please go to the forum.

Installing JavaFX

Use Table 1 to determine the JavaFX installation that best suits your needs, then follow the instructions to install JavaFX.

Table 1 JavaFX Installations

You want to develop JavaFX applications using the latest JDK and NetBeans IDE.

You want to develop JavaFX applications using the latest JDK and have a Java IDE other than NetBeans IDE.

You want to develop JavaFX applications using either NetBeans IDE or the command line, and you are using a version of the JDK older than 7u2.

You only want to run JavaFX applications.

Install the Standalone JavaFX Runtime. If you installed the JavaFX SDK, then you do not need to download the JavaFX Runtime separately.

Install the JDK + JavaFX SDK Bundle

The JavaFX SDK and Runtime are included in the JDK, starting with Java SE 7 Update 2. Download the JDK bundle from the JavaFX Downloads page, then go to the JDK Installation Guide.

Install the Standalone JavaFX SDK

The standalone JavaFX SDK should only be installed if you are using a JDK older than 7u2.

To install the JavaFX SDK:

Find the JavaFX SDK downloads, click the link for your operating system, and follow the prompts to save the executable file.

The default installation directory for the SDK is C:\Program Files\Oracle\JavaFX 2.0 SDK. See JavaFX Samples for the directories and content.

The default installation directory for the Runtime is C:\Program Files\Oracle\JavaFX 2.0 Runtime.

Install the Standalone JavaFX Runtime

The standalone JavaFX Runtime should only be installed if you are an older version of the JDK than 7u2 and do not plan to install the JavaFX SDK.

To install the JavaFX Runtime:

Find the JavaFX Runtime downloads, click the link for your operating system, and follow the prompts to save the executable file.

The default installation directory is C:\Program Files\Oracle\JavaFX 2.0 Runtime.

Install NetBeans IDE

JavaFX 2.0.2 requires NetBeans IDE 7.1 (at least a prerelease version), which you can download from the JavaFX Downloads page.

See Setting Up NetBeans IDE With JavaFX for troubleshooting information.

JavaFX Samples

Sample JavaFX applications are available to download from the JavaFX Downloads page. Download the zip file that contains the samples and extract the files to your file system.

Source code for each sample is in the javafx-samples- version \src directory. To view the source code, go to the javafx-samples- version \src\ sample directory, where sample is the name of the application in which you are interested. Each of the sample source directories is a NetBeans project.

You must have NetBeans IDE 7.1 (at least a prerelease version) to build the samples in the IDE. The NetBeans download is available from the JavaFX Download page.

JavaFX SDK File Structure

By default, the JavaFX SDK software is installed at C:\Program Files\Oracle\JavaFX 2.0 SDK. It contains the directories and content shown in Figure 1.

Figure 1 Directories and Content of the JavaFX SDK

Javafx how to install. Смотреть фото Javafx how to install. Смотреть картинку Javafx how to install. Картинка про Javafx how to install. Фото Javafx how to install
Description of «Figure 1 Directories and Content of the JavaFX SDK»

SDK build tools.

JavaFX Runtime directory.

Ant tasks used by NetBeans for packaging and deployment.

Copyright information for the readme.html document.

A pointer to this document, which provides information about the JavaFX SDK.

License information for third-party software included in the JavaFX SDK.

Uninstall JavaFX

To uninstall JavaFX, use the standard uninstall process for your operating system. You must uninstall the JavaFX SDK and Runtime separately.

Источники информации:

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

What do You Want to Do?What to Install