Skip to content

JHipster 8 doesn't work with Java 22 #25562

@mraible

Description

@mraible
Overview of the issue

JHipster 8 doesn't work with Java 22. If you're using Gradle, you get an error:

BUG! exception in phase 'semantic analysis' in source unit 'precompiled_…' Unsupported class file major version 66

If you're using Maven, CRLFLogConverterTest doesn't pass.

Screenshot 2024-03-20 at 9 06 59 AM
Motivation for or Use Case

We should support the latest release of Java.

Reproduce the error
sdk install java open-22
jhipster --defaults
Suggest a Fix

Upgrade to Gradle 8.7 and fix the test.

JHipster Version(s)

8.2.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions