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

Randall R Schulz rschulz at sonic.net
Tue Jul 3 15:23:40 PDT 2007


On Tuesday 03 July 2007 15:21, Johannes Luber wrote:
> 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.

Are you sure the JAR path names are correct?

Are you sure the JAR files contain what they should? You can use 
the "jar" command's "t" or "tv" option to list their content.


> ...
> Johannes Luber


Randall Schulz


More information about the antlr-interest mailing list