- Cygwin. Some packages to make sure are installed are:
- mercurial (hg)
- make (needed to compile media)
- makedepend (needed for media)
- Microsoft Visual Studio 2017, either Professional or Community edition. The "Desktop development with C++" workload is required at most, but it may be possible to install individual components to satisfy the requirements.
- Microsoft DirectShow header files – If you build media you will need the DirectShow header files from the Microsoft Windows SDK v7.1, installed in its default location of "C:\Program Files\Microsoft SDKs\Windows\v7.1"
- DirectX SDK June 2010 (TODO: this should no longer be needed – verify this)
Microsoft DirectX SDK (June 2010) headers are required for building the JavaFX SDK. This DirectX SDK can be downloaded from Microsoft DirectX SDK (June 2010). If the link above becomes obsolete, the SDK can be found from the Microsoft Download Site (search with "DirectX SDK June 2010"). The location of this SDK will normally be set with the environment variable DXSDK_DIR at installation time. The default location is normally "C:/Program Files/Microsoft DirectX SDK (June 2010)/". If DXSDK_DIR is not set, the build process may look for it in the default location or "C:/DXSDK/".
- Cmake 3.8.2 or later, available from the Cmake download site
- Additional cygwin tools:
All commands on this page are ran inside Cygwin (and not in Windows CMD).
You will likely need to set the following env variables to point to your VS 2017 installation, since Microsoft no longer sets such variables. This presumes that you are using build 14.11.25503 of the Community edition of Visual Studio 2017. You should adjust it as needed for your system.
Download and install OpenJDK 9 10 or later to use as the boot JDK to build and test OpenJFX. We recommend JDK 10.0.1.
Gradle is the primary build tool for building OpenJFX. We currently use Gradle 4.68 for jfx-dev (IMPORTANT: Only this version is regularly tested).