Hello.
First of all, this error seems strange to me because it is definetely not what we are seeing here. It might have to do with an unusual classpath setup an hence different versions of different abc components being mixed up. What version of abc do you use? What does your classpath look like? Why are you not using our Ant build script (which should help avoid such path problems)?
Hope that helps,
Eric
-- Eric Bodden Sable Research Group McGill University, Montréal, Canada -----Original Message----- From: Majordomo list server on behalf of Khalid Al-Jasser Sent: Tue 7/25/2006 23:14 To: abc-users@comlab.ox.ac.uk Subject: [abc-users] problem : "Bad class file" producing .class file from the .ppg file Hi, when I parse the grammar file i.e. .ppg file every thing goes ok >>java ppg.PPG -o Grm.class eaj.ppg -> ok but when I compile my extension, it gives this error "Bad class file" >>javac *.java > ExtensionInfo.java:72: cannot access abc.eaj.parse.Grm > bad class file: ...\abc-complete\abc\eaj\parse\Grm.class illegal start of > class file > Please remove or make sure it appears in the correct subdirectory of the > classpath. > Grm grm = new Grm(lexer, ts, nf, eq); please note that this error happens even if I don't do any modification to the .ppg file thanks Khalid A. Al-Jasser The University of Melbourne AustraliaReceived on Wed Jul 26 14:08:39 2006
This archive was generated by hypermail 2.1.8 : Mon Jul 31 2006 - 23:40:08 BST