[antlr-interest] How to call self-build ANTLR correctly?

Micheal J open.zone at virgin.net
Tue Jul 3 16:04:59 PDT 2007


Hi,

> Micheal J wrote:
> > My idea is a little different I think (quote placement errors):
> > 
> > java -cp "D:\Install 
> > Files\ANTLR\antlr-3.0\lib\antlr-3.0.0.jar";"D:\Install
> > Files\ANTLR\antlr-3.0\lib\antlr-2.7.7.jar";"D:\Install
> > Files\ANTLR\antlr-3.0\lib\stringtemplate-3.0.jar";"D:\Install
> > Files\ANTLR\antlr-source\src" org.antlr.Tool
> > 
> > If that still doesn't work, try substituting "-classpath" for "-cp" 
> > above.
> 
> Tried both, no change. I'll test it tomorrow with no 
> CLASSPATH environment variable - for now I'll go to bed.

What is the exact error message?

If it is still of the "no class found error for org.antlr.Tool" variety
then, I suspect the antlr-3.0.0.jar might not contain the compiled v3 class
files.


Micheal

-----------------------
The best way to contact me is via the list/forum. My time is very limited.



More information about the antlr-interest mailing list