[antlr-interest] Java-lite install?

John D. Mitchell johnm-antlr at non.net
Tue May 3 08:50:28 PDT 2005


>>>>> "Evan" == Evan Lavelle <ml-antlr at riverside-machines.co.uk> writes:
> I don't use Java at all (and know nothing about it), and was hoping to
> use ANTLR to generate C++ code, or at least code that I can link with C++
> using gcj/gcc.

Cool.  I'd be very interested in hearing how that turns out.

[...]
> L.java:25: error: Class or interface `antlr.SemanticException' not found
> in import.

Sounds like a CLASSPATH error.

Here's a page that seems to talk specifically and GCJ and setting the
classpath.
http://www.hopelesscase.com:81/gcj/README2

Here's the canonical Sun page on setting the CLASSPATH:
http://java.sun.com/j2se/1.4.2/docs/tooldocs/solaris/classpath.html

Have fun,
	John


More information about the antlr-interest mailing list