Skip to content

bug: compiled by a more recent version of the Java Runtime #88

@zotabee

Description

@zotabee

Bug description

Hello,

I'm using "Azul Zulu: 11.86.21" JRE on Windows x64. (aka the latest v11 version of the Azul JRE as of today).

I get an error now, running the last 1.6.0 CLI (morphe-cli-1.6.0-all.jar) on Windows. (https://github.com/MorpheApp/morphe-cli/releases/tag/v1.6.0)

According to the doc : https://github.com/MorpheApp/morphe-cli/blob/main/docs/0_prerequisites.md

It still says to use Java 11:

Requirements

Java Runtime Environment 11 ([Azul Zulu JRE](https://www.azul.com/downloads/?version=java-11-lts&package=jre#zulu) or [OpenJDK](https://jdk.java.net/archive/))

AI slop : "Class file version 61.0 corresponds to Java 17. If you encounter an error related to this version, it typically means that the Java Runtime you are using is older and cannot run class files compiled with a newer version."

I didn't see any annoucement or changelog notes about migrating to a new Java JRE version. Is it an error or should we bumb the Java requirements?

Error logs

Error: LinkageError occurred while loading main class app.morphe.MorpheLauncherKt
        java.lang.UnsupportedClassVersionError: app/morphe/MorpheLauncherKt has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0

Solution

No response

Additional context

No response

Acknowledgements

  • I have checked all open and closed bug reports and this is not a duplicate.
  • I have chosen an appropriate title.

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