Hi,
thanks Eric for your reply.
this is the configuration I use:
Abc version 1.1.1
Java version "1.4.2_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)
CLASSPATH=
.;C:\Java\Java1.4\lib;C:\Java;C:\Java\AspectJ5\lib\aspectjrt.jar;C:\Java\abc-1.1.1\lib;C:\Java\abc-1.1.1\lib\abc-complete;C:\Java\abc-1.1.1\lib\polyglot.jar
every thing seems fine in this configuration as I was able to compile some
abc programs and run them without any problems.
I will give the abc 1.2 a try and see if the problem still exist!!
Eric: sorry for the late reply,, I was ill in the past few days :-(
best regards,
Khalid Aljasser
The University of Melbourne
Australia
----- Original Message -----
From: "Eric Bodden" <eric.bodden@mail.mcgill.ca>
To: <abc-users@comlab.ox.ac.uk>
Sent: Wednesday, July 26, 2006 11:04 PM
Subject: RE: [abc-users] problem : "Bad class file" producing .class file
from the .ppg file
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 Mon Jul 31 23:39:34 2006
This archive was generated by hypermail 2.1.8 : Mon Jul 31 2006 - 23:50:07 BST