[antlr-interest] running antlr
Jerry Ro
jerrro at gmail.com
Sun Sep 2 16:19:48 PDT 2007
But what if I want to use ANTLR 3.0.1? I mean, there is a TokenStream class
in the JAR file... It just tries to refer it differently. Should I use both
the jar files for 2.7.7 *and* for 3.0?
Thanks
Jerr
On 9/2/07, Johannes Luber <jaluber at gmx.de> wrote:
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070902/9a4644b9/attachment.html
More information about the antlr-interest
mailing list