-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
Milestone
Description
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