# announcements


10/10/2019, 6:39 PM
*phg@ubuntu:~/gateway-model$ javac -version javac 1.8.0_222 phg@ubuntu:~/gateway-model$ java -version openjdk version "1.8.0_222" OpenJDK Runtime Environment (build 1.8.0_222-8u222-b10-1ubuntu1~18.04.1-b10) OpenJDK 64-Bit Server VM (build 25.222-b10, mixed mode) phg@ubuntu:~/gateway-model$ ./gradlew build --info FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':compileKotlin'.> Kotlin could not find the required JDK tools in the Java installation '/usr/lib/jvm/java-8-openjdk-amd64/jre' used by Gradle. Make sure Gradle is running on a JDK, not JRE. * Try: Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights. * Get more help at Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0. Use '--warning-mode all' to show the individual deprecation warnings. See *


10/10/2019, 6:41 PM
Please don't cross post

Jerry Applegarth

10/10/2021, 5:03 PM
I have the same problem. I was unable to fix it, then I changed this: classpath "" to 7.0.0 and it worked ok.