I’ve installed open jdk 11, set JAVA_HOME and add java bin path to %PATH%. Then I open a command prompt window and run this command: gradlew hivemqZip.
This is what I get and seems like it complains jdk is not found:
FAILURE: Build failed with an exception.
- What went wrong:
Could not resolve all dependencies for configuration ‘:buildSrc:buildScriptClasspath’.
Could not resolve project :buildSrc.
Required by:
project :buildSrc
Failed to calculate the value of task ‘:buildSrc:compileJava’ property ‘javaCompiler’.
Cannot find a Java installation on your machine matching this tasks requirements: {languageVersion=8, vendor=any vendor, implementation=vendor-specific} for WINDOWS on x86_64.
No locally installed toolchains match and toolchain download repositories have not been configured.
BUILD FAILED in 28s
This is my java version:
java --version
openjdk 11 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11+28)
OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)