[antlr-interest] Help!!!

ronietang ronietang at yahoo.ca
Sat Apr 3 13:19:17 PST 2004


Hello, 

I am a newbie in antlr. 

I believe I have configed the CLASSPATH correctly, because
I can use antlr.Tool expr.g to generate:

ExprLexer.java
ExprParser.java
ExprParserTokenTypes.java
ExprParserTokenTypes.txt

It seems work well.

Then I type javac *.java, nothing wrong.
But when I want to run the Main class: java Main,
I always got NoClassDefException :(

I 've tried many times and the results are same.
By the way, when I compiled the *.java files, if I compile
them individulely, I will got errors. Just like it cannot find
the antlr.* package.

If you can help me with this, it would be very nice.

Thank you!

Tonie




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
     antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 



More information about the antlr-interest mailing list