This page contains instructions for building OpenJFX 8u-dev for JDK 8u, as well as gradle examples, and is somewhat out of date.
If you are looking to build OpenJFX 9 or later, please see the main Building OpenJFX page.
Building a UI toolkit for many different platforms is a complex and challenging endeavour. It requires platform specific tools such as C compilers as well as portable tools like Gradle. Which tools must be installed differs from platform to platform. While the OpenJFX build system was designed to remove as many build hurdles as possible, it is often necessary to build native code and have the requisite compilers and toolchains installed. On Mac and Linux this is fairly easy, but setting up Windows is more difficult.
|Table of Contents|
Before you start
Do you really want to build OpenJFX? We would like you to, but there are some great community builds that may work for you too. JavaFX is bundled by default in desktop editions of JDK 8uNNN (and also in JDK 9).