[antlr-interest] Antlr-3.2: Expr.g example execution help

Mukkaysh Srivastav srimks11 at gmail.com
Thu Dec 10 00:54:22 PST 2009


I did provide CLASSPATH to example folder which java has access to Expr.g,
Test.java and performed "java Test" to execute, the execution doesn't
happens it hangs simply.

I agree that I need to brush my basics on Java but in parallel can I have a
way to execute. Could you throw some insights why while doing "java Test"
when below two operation are successful -

java org.antlr.Tool Expr.g
javac Test.java ExprLexer.java ExprParser.java

"java Test" hangs....

~BR

On Wed, Dec 9, 2009 at 8:18 PM, Jim Idle <jimi at temporal-wave.com> wrote:

>  The java command will not automatically look in your home directory. Use
> the –cp option or include this directory in your CLASSPATH. You should take
> the Java tutorials online before going further I think.
>
>
>
> Jim
>
>
>
> *From:* antlr-interest-bounces at antlr.org [mailto:
> antlr-interest-bounces at antlr.org] *On Behalf Of *Mukkaysh Srivastav
> *Sent:* Tuesday, December 08, 2009 10:32 PM
> *To:* antlr-interest at antlr.org
> *Subject:* [antlr-interest] Antlr-3.2: Expr.g example execution help
>
>
>
> Hello,
>
> I did install antlr-3.2 on Linux x86_64 as below -
>
> I.
>
>
>                   [user]$ java Test
>                   Exception in thread "main"
> java.lang.NoClassDefFoundError: Test
>                   Caused by: java.lang.ClassNotFoundException: Test
>
>
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe:
> http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20091210/6d1086c7/attachment.html 


More information about the antlr-interest mailing list