[antlr-interest] Ang: Re: Newbie C-code generation
Gavin Lambert
antlr at mirality.co.nz
Wed Jun 18 04:53:56 PDT 2008
At 21:08 18/06/2008, mimarob at algonet.se wrote:
>When I try to remove the antlr-2.7.7.jar I get the
>
>java.lang.NoClassDefFoundError: antlr/Tool
>
>error.
>
>I thought the antlr-3.1b1.jar was the new antlr or?
Yeah, but as Johannes said you still need 2.7.7 in your classpath
for v3 at the moment.
>> java antlr.Tool StdCParser.g
>> ANTLR Parser Generator Version 2.7.7 (20060906) 1989-2005
Here's your problem -- this is the wrong command line.
For v3, you need to use "org.antlr.Tool" instead of "antlr.Tool".
More information about the antlr-interest
mailing list