Skip to content

Windows. ANTLR tools compiled to JRE 11 (class file 55), but installed JRE only recognizes up to JRE 8 (class file 52). #14

@rturrado

Description

@rturrado

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!

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