Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Thats's all there is to it.  You can now begin editing source files and doing command line development.  If you are like us, you'll want to develop using your IDE of choice. 

Coming Soon:

...

Use your favourite IDE with OpenJFX

Despite the fact that most of the major IDE's support gradle directly, we have decided to provide pre-generated IDE configuration files in order to make using an IDE smooth and painless.

IMPORTANT: Ensure that you do not have gradle plugins for NetBeans or Eclipse installed.  They will conflict with the pre-generated IDE files.  In furture, we may move to gradle builds within the IDE's as support becomes better.

Get a 32-bit version of the JDK

...

OpenJFX is based on JDK1.8 and IDE support for lambdas and defender methods currently requires that you get a pre-release version.  Over time, this will no longer be necessary. IntelliJ supports this out of the box.  Eclipse and NetBeans do not.

IntelliJ: http://www.jetbrains.com/idea/download/

Eclipse: http://downloads.efxclipse.org/eclipse-java8/

NetBeans: http://bits.netbeans.org/dev/nightly/NetBeans: <link here>

    - this version works on Mac: netbeans-trunk-nightly-201305192300-javase-macosx.dmg
    - this version works on Windows: netbeans-trunk-nightly-201305192300-javase-windows.exe
    - this versions works on Linux: netbeans-trunk-nightly-201306252301-javase-linux.sh
    - other versions may work but Windows gave me some trouble (might be unrelated)

Eclipse: <link here>

IntelliJ: <link here>are likely to work but these are the ones that have been tested

Once you have downloaded and installed an IDE that is JDK8 aware, you will need to configure it to accept JDK8 syntax and generate the right byte codes.  This will be explained later on for each particular IDE.

...

JavaFX is bundled with the JDK as an extension.  The jfxrt.jar is located in the extension directory called 'ext' where Java is installed.  You must remove it from this directory for the IDE's to work properly.  You can make a copy of your current JDK, remove the jar and tell your IDE to use this JDK instead.  Another strategy is to keep the jar around but move it into a sibling 'ext2' directly so that paths can easily be changed manually to use it and you can restore it when necessary.  Regardless, if you do not remove jfxrt.jar, you will get strange errors.

IntelliJ

//TODO - document support

Eclipse

//TODO - document support

NetBeans

...