Skip to content

Getting Started has error #3744

@Nicksxs

Description

@Nicksxs

i just run the test command
java org.antlr.v4.Tool
my java version is "1.8.0_291"
and the error is
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/antlr/v4/Tool has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
this mean it does not support java earlier than jdk 11,
but your Getting Started with ANTLR v4 said just java version 1.7 or higher

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions