On AIX, I have correctly set JAVA_HOME to /usr/java7_64/jre/bin. But when I type:
I get this error message:
ERROR: JAVA_HOME is set to an invalid directory: /usr/java7_64/jre/bin
Please set the JAVA_HOME variable in your environment to match the location of your Java installation.
Now, when I do a good old ‘ls /usr/java7_64/jre/bin’, it looks great! I see 22 files including java, java_vm, j9vm, etc. *** One thing I DON’T see is javac. Maybe that’s cause it’s a jre. Obviously, JAVA_HOME is correctly set, and gradle is correctly reading it. Why is gradle rejecting this java installation? Thanks in advance…