[antlr-interest] tree construction facility doesn't work for me

Peter Bulychev peter.bulychev at gmail.com
Wed Feb 6 11:01:09 PST 2008


Hello.

I want to test the tree construction facility of ANTLR.

I have downloaded
http://www.antlr.org/wiki/download/attachments/1037/SimpleC.g and then
performed following steps:

> java  org.antlr.Tool SimpleC.g
> javac  *.java
> java  Main  input
>

But Java says during the last step:

> Exception in thread "main" java.lang.NoClassDefFoundError: Main


And this is true, I can't find the Main class: `grep Main *.java` returns
nothing.

Please, tell me, where I am incorrect.

Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080206/4a431e5a/attachment.html 


More information about the antlr-interest mailing list