diff --git a/build.gradle b/build.gradle index 39fa4b7d4f..b48e92eead 100644 --- a/build.gradle +++ b/build.gradle @@ -22,7 +22,7 @@ if (System.env.JAVA_HOME) { project.ext.JAVA_HOME = System.env.JAVA_HOME; } else { - project.ext.JAVA_HOME = "${System.properties.'java.home'}/../" + project.ext.JAVA_HOME = "${System.properties.'java.home'}" } /***************************************************************************************