How to check which installed JDK used during Gradle build process
This was my output of gradle -v (in a project using the wrapper): $ ./gradlew -v ------------------------------------------------------------ Gradle 5.0 ------------------------------------------------------------ Build time: 2018-11-26 11:48:43 UTC Revision: 7fc6e5abf2fc5fe0824aec8a0f5462664dbcd987 Kotlin DSL: 1.0.4 Kotlin: 1.3.10 Groovy: 2.5.4 Ant: Apache Ant(TM) version 1.9.13 compiled on July 10 2018 JVM: 11.0.1 (Oracle Corporation 11.0.1+13-LTS) OS: Linux 3.10.0-862.11.6.el7.x86_64 amd64 See especially this line: JVM: 11.0.1 (Oracle Corporation 11.0.1+13-LTS) I was wishing to switch to