

Note: The JDK 6 for MacOS is not available on Oracle's site. Note, that in thisĬase, build will have Gradle remote build cache misses for some tasks. (or put it into $GRADLE_USER_HOME/gradle.properties).įor local development, if you're not working on the standard library, it's OK to avoid installing JDK 1.6 and JDK 1.7.Īdd =true to the local.properties file, so build will only use JDK 1.8+. To ensure Gradle uses only JDKsįrom environmental variables - disable Gradle toolchain auto-detection by passing .auto-detect=false option (see gradle.properties for supported variable names).

So you could either download them manually and provide path to installation via JDK_1_6 and JDK_1_7 environment variables orĪlternatively, it is still possible to only provide required JDKs via environment variables

Unfortunately AdoptOpenJdk project does not provide required JDK 1.6 and 1.7 images, To select and auto-provision required JDKs from AdoptOpenJdk project. This repository is using Gradle toolchains feature
