[antlr-interest] running antlr
Johannes Luber
jaluber at gmx.de
Sun Sep 2 15:50:34 PDT 2007
Jerry Ro wrote:
> Hello,
>
> when trying to run antlr, after installing the runtime+tool jar and
> stringtemplate I get the following error:
> java -cp antlr-3.0.1.jar:stringtemplate-3.0.jar org.antlr.Tool
> Exception in thread "main" java.lang.NoClassDefFoundError: antlr/TokenStream
> at org.antlr.tool.ErrorManager.setLocale(ErrorManager.java :393)
> at org.antlr.tool.ErrorManager.<clinit>(ErrorManager.java:355)
> at org.antlr.Tool.main(Tool.java:67)
>
> It seems like it looks for TokenStream in antlr/ instead of
> org/antlr/runtime (I checked and there is TokenStream.class in
> org/antlr/runtime)?
>
> Any ideas?
You are missing a references to antlr-2.7.7.jar.
Best regards,
Johannes Luber
More information about the antlr-interest
mailing list