M K Matthur
05/08/2024, 1:47 PM> Task :compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
Could not find tools.jar. Please check that /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.412.b08-2.el8.x86_64/jre contains a valid JDK installation.* Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org 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 https://docs.gradle.org/5.6.4/userguide/command_line_interface.html#sec:command_line_warnings BUILD FAILED in 1s 1 actionable task: 1 executed
Chris Lee
05/08/2024, 2:13 PMM K Matthur
05/08/2024, 3:05 PMChris Lee
05/08/2024, 3:05 PM/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.412.b08-2.el8.x86_64/jre
M K Matthur
05/08/2024, 3:06 PMChris Lee
05/08/2024, 3:06 PMM K Matthur
05/08/2024, 3:07 PMM K Matthur
05/08/2024, 3:07 PMChris Lee
05/08/2024, 3:08 PM./gradlew
does not execute any tasks, hence won’t hit that error that came from the compileJava
task. Install a JDK (or use a Gradle Toolchain) and you’ll be good.Chris Lee
05/08/2024, 3:09 PMDeprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
M K Matthur
05/08/2024, 3:09 PMhave Gradle8.7
Chris Lee
05/08/2024, 3:10 PMM K Matthur
05/08/2024, 3:10 PMChris Lee
05/08/2024, 3:10 PMM K Matthur
05/08/2024, 3:11 PMM K Matthur
05/08/2024, 3:15 PMChris Lee
05/08/2024, 3:16 PMAaron Ferguson
05/08/2024, 3:16 PMAaron Ferguson
05/08/2024, 3:17 PMM K Matthur
05/08/2024, 3:22 PMChris Lee
05/08/2024, 3:23 PMChris Lee
05/08/2024, 3:23 PMM K Matthur
05/08/2024, 3:35 PMM K Matthur
05/08/2024, 3:35 PMChris Lee
05/08/2024, 3:36 PMbin/java
M K Matthur
05/08/2024, 3:38 PMChris Lee
05/08/2024, 3:38 PMwhich java
to see if that helps locate where its installed.M K Matthur
05/08/2024, 9:10 PMException java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.reflection.ReflectionCache [in thread "Daemon worker"]* Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 822ms
Aaron Ferguson
05/08/2024, 11:26 PMVampire
05/09/2024, 9:24 AM