Ido Barash
Ido Barash

Reputation: 5122

Antlr4 maven and Java 1.8

I am using Antlr4 to parse language. I also use maven to build my target JAR.

It all works fine with JDK 1.7, but my parser tool should run as a part of a Java 8 based system. I tried to compile it as Java 1.8 but got excpetion that 1.8 is not supported.

Is there a solution?

regards, id

Upvotes: 1

Views: 1678

Answers (1)

Sam Harwell
Sam Harwell

Reputation: 99859

Java 8 has been supported since ANTLR release 4.2.

Source: Release notes for ANTLR 4

Upvotes: 3

Related Questions