Skip to content

The version of the java executable should actually be checked #3

@kaby76

Description

@kaby76
  • This code "tests" the version of java, but it's false, so it never gets checked.
  • Over here in Antlr4BuildTasks, I don't check the version of java, but I need to because some versions of java don't work, e.g., version 7. Even a quick "java --version" would have found that v7 of java doesn't work because there's no "--version" option.
  • The Antlr tool jar has a minimum requirement of version 11 or newer.
  • The "Quick Start" instructions over on antlr.org should stop defining the alias "alias antlr4='java -jar /usr/local/lib/antlr-4.10.1-complete.jar'" and just point to set up the tools from this repo. The tool here is much better because it could check the version of java, and download a version that can work if one tries to use the wrong version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions