Skip to content

New Install Error during ./gradlew clean hivemqZip #506

@tradcliffe-merit-controls

Description

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions