Gradle is the primary build tool for building OpenJFX. Since the repository includes a Gradle wrapper that will download the correct Gradle version when needed, you do not need to manually install Gradle. We currently use Gradle 5.3 for jfx-dev (IMPORTANT: Only this version is regularly tested). If you want to generate a wrapper yourself (for example, you want to build OpenJFX with a different Gradle version), then you will need to install Gradle.
gradle command used throughout this document can be replaced with
./gradlew when using the wrapper.
Note: gradle is available as a Ubuntu packagean Ubuntu package, but check the version. This command should work after you set JAVA_HOME: