[antlr-interest] Running ANTLRWorks 1.3.1 -- javac error

Bart Kiers bkiers at gmail.com
Tue Jan 26 10:19:59 PST 2010


In order to run ANTLRWorks, you do not need 'javac', but 'java'.

'javac' is the compiler that will compile java source files into byte codes
that the JRE (Java Runtime Environment) interprets/executes.

'java' is the application that executes the byte codes produced by 'javac'.
Since ANTLRWorks is already compiled, you only need 'java'.

So, on the command line, give the following command:

java -jar antlrworks-1.3.1.jar

If the above does not work, please post the exact error message(s) on the



On Tue, Jan 26, 2010 at 6:51 PM, Karljurgen Feuerherm <kfeuerherm at wlu.ca>wrote:

> Hello,
> I'm new to this product (and to modern products of this type
> generally... was a B programmer in the early 80s and trying to get
> updated!)
> I'm on Windows XP, and have run the JAR file to invoke ANTLRWorks.
> I'm trying out the Expression Evaluator Tutorial. Interpreter works
> fine, but invoking the debugger gets me
> "java.IO.IOException: Cannot run program "javac": CreateProcess
> error=2, the system cannot find the file specified"
> (Oddly, after a while, trying it again got me a different error about
> timeout, even though I'd changed nothing [Sure. Famous Last Words,
> eh?].)
> Not sure where to go from here... By all means be pedantic in a
> response :)
> Thanks!
> K
> Karljürgen G. Feuerherm, PhD
> Department of Archaeology and Classical Studies
> Wilfrid Laurier University
> 75 University Avenue West
> Waterloo, Ontario N2L 3C5
> Tel. (519) 884-1970 x3193
> Fax (519) 883-0991 (ATTN Arch. & Classics)
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe:
> http://www.antlr.org/mailman/options/antlr-interest/your-email-address

More information about the antlr-interest mailing list