Message: specify a valid

When trying to build the application, an error occurs - incorrect location of JDK folder. The correct location of the package is specified in the settings. However, the error is repeated.

What do you have as the correct path?

This is the path where the folder with Java installed is actually located.

I set JDK using the “Install JDK” button. And I indicate the location of JDK exactly where it was installed. However, I always get an error.

Yes that is not good. I’ll report that bug.

You need to dig deeper into that folder structure.
JDK/zulu8…macosx_x64/zulu-8_jdk/Contents/Home

the ellipsis above replaces a longer folder name, it is the only one there.

Here is your full path for the installed JDK.
/Users/tjoffice/JDK/zulu8.60.0.21-ca-jdk8.0.322-macosx_x64/zulu-8.jdk/Contents/Home

Thanks for reporting the issue.

That’s right, I did that too. But when compiling in Terminal, the error is reported again.

JAVA_HOME is set to an invalid directory: /Users/***/JDK/zulu8.60.0.21-ca-jdk8.0.322-macosx_x64/zulu-8.jdk/Contents/Home

Please set the JAVA_HOME variable in your environment to match the location of your Java installation.