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 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.