[antlr-interest] Using Antlr v3 with JDK 1.4

Gordon Tyler Gordon.Tyler at quest.com
Mon Aug 31 14:25:25 PDT 2009


Is it possible to use the Antlr v3 runtime with JDK 1.4? I'm getting this error when compiling generated parser code using JDK 1.4, which indicates that the runtime is compiled with JDK 1.5:

NewTransformLexer.java:11: cannot access org.antlr.runtime.Lexer
bad class file: lib\antlr-runtime-3.1.3.jar(org/antlr/runtime/Lexer.class)
class file has wrong version 49.0, should be 48.0

Is it just a matter of a recompile of the runtime or does the runtime use Java 5 features?

Thanks,
Gordon

---
Gordon Tyler (Software Developer)
Quest Software <http://www.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: (416) 933-5046 | Fax: (416) 933-5001

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090831/3aaae460/attachment.html 


More information about the antlr-interest mailing list