From c81bf0828d943589c63230c938a038f904b385fd Mon Sep 17 00:00:00 2001 From: Adam Valenta Date: Thu, 11 Apr 2024 17:25:41 +0200 Subject: [PATCH] fix javac --- gradle/javaIgnoreSymbolFile.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/javaIgnoreSymbolFile.gradle b/gradle/javaIgnoreSymbolFile.gradle index 1528c27e0ef5..281b14562e05 100644 --- a/gradle/javaIgnoreSymbolFile.gradle +++ b/gradle/javaIgnoreSymbolFile.gradle @@ -2,5 +2,5 @@ compileJava { // This only works when forking and passing 'javac' as an executable options.compilerArgs << '-XDignore.symbol.file' options.fork = true - options.forkOptions.executable = "${System.properties['java.home']}/../bin/javac" + options.forkOptions.executable = "${System.env.JAVA_HOME}/bin/javac" }