antlr / intellij-plugin-v4

An IntelliJ plugin for ANTLR v4
https://plugins.jetbrains.com/plugin/7358-antlr-v4
BSD 3-Clause "New" or "Revised" License
461 stars 103 forks source link

error(31): ANTLR cannot generate java code as of version 4.13.1 #668

Closed amryounis closed 10 months ago

amryounis commented 10 months ago

"generate ANTLR recognizer" produces this error.

2023-10-17 14:09:26: antlr4 -o C:\Users\xxx\Desktop\hello -Dlanguage=java -listener -visitor -lib C:\Users\xxx\Desktop\hello C:/Users/ayounes/Desktop/hello\Expr.g4 error(31): ANTLR cannot generate java code as of version 4.13.1

bjansen commented 10 months ago

I think you need to use Java with an uppercase J. Also, this problem is not related to the IntelliJ plugin, you should open an issue here: https://github.com/antlr/antlr4 if the problem persists.