[abc-users] problem : "Bad class file" producing .class file from the .ppg file

From: Khalid Al-Jasser <k.al-jasser@pgrad.unimelb.edu.au>
Date: Wed Jul 26 2006 - 04:14:11 BST

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

Khalid A. Al-Jasser
The University of Melbourne
Received on Wed Jul 26 04:15:23 2006

This archive was generated by hypermail 2.1.8 : Fri Jul 28 2006 - 14:00:08 BST