Hi,
I'm doing this both in Linux and Windows, and it's working fine in Linux but not in Windows:
- Running
python -m pip install --upgrade pip antlr4-tools, which installs antlr4-tools-0.2.
- Running
echo Y | antlr4, which downloads antlr4-4.13.0-complete.jar and runs OK in Linux but not in Windows.
The error is:
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
Shouldn't ANTLR tools be installing an adequate version of JRE?
Is there any easy way to fix this?
Many thanks!