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

Randall R Schulz rschulz at sonic.net
Tue Jul 3 14:23:04 PDT 2007


On Tuesday 03 July 2007 14:16, Johannes Luber wrote:
> ...
>
> D:\>java -cp "D:\Install
> Files\ANTLR\antlr-source\bin\org\antlr\runtime" -cp "D:\Install
> Files\ANTLR\antlr-source\bin" -cp "D:\Install
> Files\ANTLR\antlr-3.0\lib\antlr-2.7.7.jar" -cp "D:\Install
> Files\ANTLR\antlr-3.0\lib\stringtemplate-3.0.jar" org.antlr.Tool

You don't repeat the -cp argument, you include all the directories or 
JAR files in a single -cp option, separating each by a semicolon.

It seems like you're kind of a neophyte at all this. Perhaps some Java 
tutorials are in order before you try something like rebuilding a 
large, sophisticated piece of software.

Why are you rebuilding it, anyway? Did you make some modifications?


> ...
> I'm not


Randall Schulz


More information about the antlr-interest mailing list