Gradle Daemon pmc-rest-sdk devtest compileJava FAILED

Gradle Daemon pmc-rest-sdk-devtest:compileJava FAILED

The above error pmc-rest-sdk-devtest:compileJava FAILED gets when we try to run Gradle deamon

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':pmc-rest-sdk-devtest:compileJava'.
> Could not find tools.jar. Please check that /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.242.b08-4.el8.ppc64le/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.

BUILD FAILED

Solution :

# yes | yum install java-1.8.0-openjdk-devel

The solution is to install open jdk development package for RHEL, after installing the open jdk we should be able to progress running gradle again.

 


Post a Comment

0 Comments