[antlr-interest] Still get Runtime Error

bob mcwhirter bob at werken.com
Fri Nov 30 09:01:54 PST 2001


Use 'jar tf <filename>' and see if the requested class really exists in
the jarfile.  If not, then look at the other jars, and find the one that
has that class.

There have been problems, previously, of not getting all the right
classes into the runtime jar.

The antlr-all.jar (or whatever it is named these days) should work,
if not be overkill.

	-bob


On Fri, 30 Nov 2001, Mark Ryall wrote:

> Hi
> 
> I still have the same runtime errors.
> 
> 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 asume you can run it in any directory, my Test.g file is in the above
> directory.
> 
> My Env. Vars are ....
> 
> Path =
> %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\JDK1.1.8\BIN
> 
> Classpath =
> .;C:\jdk1.1.8\lib\classes.zip;C:\antlr-2.7.1\antlr.jar;C:\antlr-2.7.1\antlr
> 
> Regards
> 
> Mark
> 
> 
>  
> 
> 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