On Thu, May 6, 2010 at 3:44 PM, Nishanth singh <singh.nishan...@gmail.com>wrote:
> > ... > > This is the error I get when I try to compile: > > > > $ javac locoTokensLexer.java > > locoTokensLexer.java:3: package org.antlr.runtime does not exist > > import org.antlr.runtime.*; > > ^ > > locoTokensLexer.java:8: cannot find symbol > > symbol: class Lexer > > public class locoTokensLexer extends Lexer { > > ^ > > > > > > Then I get a lot of other errors. > > Please some one help me out. > > Regards, > Nishanth. > Nishanth, don't take this the wrong way, but this mailing list is not the best place to ask your question. It seems you're struggling with the very basics of Java (the classpath specifically). When compiling Java source files from your command, you either must have all classes your source file(s) use already in your classpath, or must provide all of them through the command line parameter when invoking javac. I highly recommend doing some basic tutorials: http://java.sun.com/docs/books/tutorial/getStarted/index.html and/or Google a bit about classpath issues. If you don't get past it, I suggest you ask your question on a less specific forum (Stackoverflow.com is hot these days), and post back here if you have specific ANTLR questions. Best of luck! Regards, Bart. List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address -- You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to il-antlr-inter...@googlegroups.com. To unsubscribe from this group, send email to il-antlr-interest+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.