I can't figure out to get this working. Scenario: I have an application built with gradle The application uses JavaFX What I want Use a variable (defined per developer machine) which points to an installation of a JDK which will be used for building the whole application / tests / ... I thought about having the gradle.properties file, defining the variable. Something like JAVA_HOME_FOR_MY_PROJECT=