[antlr-interest] Antlr v3.0.1 installation issue on Windows XP
Benjamin Niemann
pink at odahoda.de
Fri Nov 16 19:19:12 PST 2007
Hi Surinder,
Surinder Jain wrote:
> Any ideas why my ANTLR is not working?
>
>
> I have downloaded antlr-3.0.1.jar from antlr website and copied it into
> e:\antlr-3.0.1 directory. I have created a sample T.g as given on page
> 29 of ANTLR definitive book.
>
> However when I run java and antrl on T.g I get an error as follows :
>
>
>
> E:\antlr-3.0.1>java org.antlr.Tool T.g
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/antlr/stringtempl
> ate/StringTemplateErrorListener
> at org.antlr.Tool.main(Tool.java :67)
>
> E:\antlr-3.0.1>
You'll also need stringtemplate and antlr2 jars in your CLASSPATH. These
are included in the source tarball (lib directory).
HTH
More information about the antlr-interest
mailing list