New Install Error during `./gradlew clean hivemqZip`
Opened this issue · 1 comments
tradcliffe-merit-controls commented
Expected behavior
The build to complete successfully
Actual behavior
During the build process, the following errors are thrown
To Reproduce
Steps
Create a new install of HiveMQ Community edition and move into the new directory
Run command sudo ./gradlew clean hivemqZip
Reproducer code
Details
I believe the error is coming from the line of code below. If I change the value of JavaLanguageVersion.of
from 8 to 11, the build is successful.
https://github.com/hivemq/hivemq-community-edition/blob/master/buildSrc/build.gradle.kts#L9
- Affected HiveMQ CE version(s): most recent
- Used JVM version: openjdk version "11.0.23" 2024-04-16
OpenJDK Runtime Environment (build 11.0.23+9-post-Ubuntu-1ubuntu120.04.2)
OpenJDK 64-Bit Server VM (build 11.0.23+9-post-Ubuntu-1ubuntu120.04.2, mixed mode, sharing)
tradcliffe-merit-controls commented
A second issue I found inside the documentation for step 4. The unzip command is different between the documentation and the advice found here. I found the unzip command in the community forum worked for installation.