[antlr-interest] ANTLR 2.7.3 building errors

Ric Klaren klaren at cs.utwente.nl
Mon Feb 9 09:39:47 PST 2004


Hi,

On Mon, Feb 09, 2004 at 03:46:02PM -0000, gwind04 wrote:
> I downloaded ANTLR2.7.3 package with project version "2.7.3 (20040105-
> 74)". After modified the classpath, I ran "java antlr.Tool" in
> command window under windows 2000. I got a "Bad major version number"
> error. This never happened with 2.7.1 or 2.7.2.

It's probably due to me building my snapshots most of the time with jikes.
This probably means you'd need at least java 1.3 to run the class files per
default. I recently noticed some trouble with jikes compiled stuff and
older java versions.

You might try grabbing Terences release candidate 2 which is newer than
that snapshot you used (I assume he uses java 1.1 or 1.2 to build
releases):

http://www.antlr.org/download/antlr-2.7.3rc2.tar.gz

> So, I tried to rebuild ANTLR with JDK1.1.8. The "javac *.java" passed
> smoothly. However, after I ran "Java antlr.build.Tool build" under
> the antlr-2.7.3 root directory, i got like tons of errors.

I'm not 100% sure if JDK 1.1 is still supported... If you got 1.2 or better
around you could try building with that one. Without some error messages
samples I can't say much. It could be that there's still some old class
files around ?

BTW why run antlr.build if you already compiled everything ? Drop the old
jar file and put the root of the antlr distro in the classpath and you
should be ready to roll.

Cheers,

Ric
--
-----+++++*****************************************************+++++++++-------
    ---- Ric Klaren ----- j.klaren at utwente.nl ----- +31 53 4893722  ----
-----+++++*****************************************************+++++++++-------
  Xander: "Buffy, we need to do something *now*"
  Angel: "We need a distraction."
  Buffy: "Right."
  Angel: "What are you going to do?"
  Buffy: "I'm going to kill them all. That oughtta distract 'em..."



 
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