[antlr-interest] Building 3.1 from source

Johannes Luber jaluber at gmx.de
Tue Apr 8 03:06:33 PDT 2008


Christian Schladetsch schrieb:
...
> compile-rt:
>   [myjavac] Compiling 74 source files to 
> e:\Dev\Antlr\antlr-2008-03-13.12\build\
> rtclasses
>   [myjavac] javac: invalid target release: jsr14
> 
> I see that build.xml passes `source=1.5 target=jsr14` to javac, which is 
> complaining about the target.

My guess is that you use still the 1.4 Java runtime, which doesn't know 
about the parameter. ANTLR requires on the developer side at least Java 1.5.

Johannes


More information about the antlr-interest mailing list