[antlr-interest] getting started with antlr

Dmitry Lizorkin lizorkin at ispras.ru
Wed Sep 19 01:56:56 PDT 2007


Hello!

For getting started with Antlr, I copy-pasted  the sample grammar from your 
"Getting started" section and got the following messages:

$ java org.antlr.Tool t.g
Exception in thread "main" java.lang.NoClassDefFoundError: org/antlr/Tool

$ java -jar antlr-3.0.1.jar org.antlr.Tool t.g
Failed to load Main-Class manifest attribute from
antlr-3.0.1.jar

The above message with manifest attribute is a complete mystery for me. I've 
got my CLASSPATH assigned correspondingly.
What could my problem be?

Thank you in advance
Dmitry



More information about the antlr-interest mailing list