# Please check that /usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre contains a valid JDK installation

**URL:** <https://discuss.gradle.org/t/please-check-that-usr-lib64-jvm-java-1-8-0-openjdk-1-8-0-jre-contains-a-valid-jdk-installation/24514>\
**Category:** Help/Discuss\
**Created:** [October 24, 2017, 5:58pm UTC](https://discuss.gradle.org/t/please-check-that-usr-lib64-jvm-java-1-8-0-openjdk-1-8-0-jre-contains-a-valid-jdk-installation/24514 "2017-10-24T17:58:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zeiglerw2](https://avatars.discourse-cdn.com/v4/letter/z/ccd318/32.png) [@zeiglerw2](https://discuss.gradle.org/u/zeiglerw2)\
**Post date:** [October 24, 2017, 5:58pm UTC](https://discuss.gradle.org/t/please-check-that-usr-lib64-jvm-java-1-8-0-openjdk-1-8-0-jre-contains-a-valid-jdk-installation/24514/1 "2017-10-24T17:58:57Z")

</div>

I am attempting to execute a gradle build and keep getting the above-listed error. I have set my default JRE for my environment and the project to a JDK install directory. I tried deleting the project and re-deploying it. I have also edited the [alljava.sh](http://alljava.sh) file so that my JAVA\_HOME and JRE\_HOME environment variables point to the JDK install and restarted and tested it to make sure. Please advise how to correct this issue.

Thanks,  
Zeigler
