Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Install Error during ./gradlew clean hivemqZip #506

Open
tradcliffe-merit-controls opened this issue Jun 14, 2024 · 1 comment · May be fixed by #547
Open

New Install Error during ./gradlew clean hivemqZip #506

tradcliffe-merit-controls opened this issue Jun 14, 2024 · 1 comment · May be fixed by #547

Comments

@tradcliffe-merit-controls

Expected behavior

The build to complete successfully

Actual behavior

During the build process, the following errors are thrown

Screenshot 2024-06-14 055043

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant