You are here

JavaFX Installation

JavaFX download come in different flavor for different needs. The download site is at http://javafx.com/downloads/all.jsp. The different downloads available are:

  • NetBeans IDE 6.5.1 for JavaFX 1.2 - JavaFX plugin preinstalled with NetBeans. If you have the NetBeans already with you, you might just want to download the SDK.
  • JavaFX 1.2 Production Suite - Tools for designers. contains tools to export graphics from Adobe Illustrator or Photoshop or SVG graphics.
  • JavaFX 1.2 SDK - Contains everything including tools and jars for JavaFX. The preferred download for developers.

Download JavaFX SDK from http://javafx.com/downloads/all.jsp. Download as per your platform.
Liunx:

  • The download is a .sh file. Make it executable.
  • Run the .sh file and accept license agreement. It will create a folder.
  • The folder has following directories:
    • bin - contains command line tools for development and execution
    • docs - documentation
    • emulator - Mobile emulator (For windows only)
    • lib - jar dependencies
    • profiles - properties files for platform
    • samples - sample applications
    • servicetag - product registration information

Command Line Tools


If you intend to development using command line tools than have the bin directory in your path. The command line tools which comes with JavaFX are:

  • javafxc - Compiler to run the JavaFX script file
  • javafx - Executing JavaFX applications
  • javafxdoc
  • javafxpackager

Integrating with Eclipse


Download the eclipse plugin for JavaFX. The following steps are for Eclipse Ganymede and Linux (OpenSuse). It should work similarly for other Operating systems.

  • Go to Help->software Updates
  • Click on Available Software tab.
  • Click on Add site button on the right.
  • Enter the URL location http://javafx.com/downloads/eclipse-plugin/ and click ok
  • It will create an entry JavaFX updates in the list. Select it.
  • click on install.
  • The eclipse will download the plugin and will prompt to restart eclipse. Restart it.

Once the above steps are followed, you can see JavaFX choice in the New wizard(File->New->Other) as shown

Image

Also JavaFX perspective on perspective windows(Window->Open Perspective->Other) should be present.

Comments

This link http://javafx.com/downloads/eclipse-plugin/
needs user id & pwd. Can anyone help me?

Add new comment