[antlr-interest] Runtime error

mzukowski at bco.com mzukowski at bco.com
Fri Nov 30 06:17:20 PST 2001


The antlr.jar is for distribution with your generated parsers.  You need the
antlr directory in your classpath too:antlr-2.7.1/antlr

Monty

> -----Original Message-----
> From: Mark Ryall [mailto:mnr at cs.man.ac.uk]
> Sent: Friday, November 30, 2001 5:17 AM
> To: antlr-interest at yahoogroups.com
> Subject: Re: [antlr-interest] Runtime error
> 
> 
> Hi
> 
> My class path = .;C:\jdk1.1.8\lib\classes.zip;C:\antlr-2.7.1\antlr.jar
> 
> and my path =
> %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;
> C:\JDK1.1.8\BIN
> 
> is this ok??
> 
> Mark
> 
> Andy Carpenter wrote:
> 
> > > C:\3rd Year Project Info\Routing Protocol Language>java antlr.Tool
> > > Test.g
> > > ANTLR Parser Generator   Version 2.7.1   1989-2000 jGuru.com
> > > java.lang.NoClassDefFoundError: antlr/DefaultToolErrorHandler
> > >         at antlr.Tool.<init>(Tool.java:33)
> > >         at antlr.Tool.main(Tool.java:320)
> > >
> > > I dont understand what this means?
> > >
> > > And how to fix it
> >
> > It means that you don't have either the antlr jar or the directory
> > containing the antlr class files on your classpath.
> >
> >     Andy.
> >
> >
> >
> > Your use of Yahoo! Groups is subject to 
> http://docs.yahoo.com/info/terms/
> 
> 
>  
> 
> Your use of Yahoo! Groups is subject to 
> http://docs.yahoo.com/info/terms/ 
> 
> 
> 

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



More information about the antlr-interest mailing list