[antlr-interest] running antlr

Jerry Ro jerrro at gmail.com
Sun Sep 2 15:29:11 PDT 2007


Hello,

when trying to run antlr, after installing the runtime+tool jar and
stringtemplate I get the following error:
java -cp antlr-3.0.1.jar:stringtemplate-3.0.jar org.antlr.Tool
Exception in thread "main" java.lang.NoClassDefFoundError: antlr/TokenStream
        at org.antlr.tool.ErrorManager.setLocale(ErrorManager.java:393)
        at org.antlr.tool.ErrorManager.<clinit>(ErrorManager.java:355)
        at org.antlr.Tool.main(Tool.java:67)

It seems like it looks for TokenStream in antlr/ instead of
org/antlr/runtime (I checked and there is TokenStream.class in
org/antlr/runtime)?

Any ideas?

Thanks


Jerr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070902/4f48e819/attachment.html 


More information about the antlr-interest mailing list