From binoy@ccs.neu.edu Mon Apr 20 09:07:49 1998 Received: from ccs.neu.edu (traal-2.ccs.neu.edu [129.10.113.212]) by amber.ccs.neu.edu (8.8.6/8.8.6) with ESMTP id JAA13553; Mon, 20 Apr 1998 09:07:44 -0400 (EDT) Message-ID: <353B101D.358A2F05@ccs.neu.edu> Date: Mon, 20 Apr 1998 09:06:37 +0000 From: Binoy Samuel X-Mailer: Mozilla 4.04 [en] (Win95; I) MIME-Version: 1.0 To: "lblando@gte.com" CC: "'Karl Lieberherr'" , "com3362@ccs.neu.edu" , "dougo@ccs.neu.edu" , "jayantha@ccs.neu.edu" , "johan@ccs.neu.edu" , "kedar@ccs.neu.edu" Subject: Re: Demeter/Java download References: <01BD6A14.7EC26080.lblando@gte.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Status: R Hi Luis, The class format error is because you are using jdk1.2beta3 as against jdk1.1.5 I got the same error when i tried jdk1.2beta3 So you will have to download jdk 1.1.5 and it will work fine. Note: You will come across this class format error if you have 2 class files A & B; A depends on B. If you compile A, it looks at the format of B and compiles and runs fine. If now you were to change B and run A without recompiling A, there would be a class format error. -binoy Luis Blando wrote: > > On Friday, April 17, 1998 11:45 AM, Karl Lieberherr [SMTP:lieber@ccs.neu.edu] > wrote: > > Ok., Doug Orleans has the written installation instructions in > > > > http://www.ccs.neu.edu/research/demeter/DemeterJava/ > > > > (first DOWNLOAD entry) > > > > Please let us know if you have difficulties. > > > > The AP Studio download instructions are already updated and > > also in the DOWNLOAD entry. > > > > -- Karl > > I tried it again. On a brand new machine, I did the following: > > 1. downloaded jdk 1.2 beta 3 and installed on C:\jdk1.2beta3 > 2. downloaded javacc 0.7.1 ans installed on C:\javacc > 3. tested that they work (added CLASSPATH to the environment > and made sure java, jre, javac were accesible and working) > 4. downloaded demjava (latest version) and installed > in c:\demjava-0.7-beta-2 > 5. modified the DEMJAVA.BAT file to point to this directory > > but then, > > demjava new > > yields: > > C:\>demjava new > java.lang.ClassFormatError: > EDU/neu/ccs/demeter/tools/demjava/ParserTokenManager > (Invalid start_pc/length in local var table) > > which is a really weird message (first time I see it). fyi, this is the same > message I was getting before (although when I responded to one of Binoy's > emails I used an even older version of demjava!). > > I was installing on a WinNT 4.0 machine. I have Win95 at home and it's there > where I was getting the same problem before. > > Sorry to keep bothering, > > Luis > > ------ > Luis Blando, PI lblando@gte.com > GTE Laboratories 781.466.3296 (v) lblando@ccs.neu.edu > 40 Sylvan Rd., MS40 888.960.9451 (p) 1542031@gte.pagegate.net > Waltham, MA 02254 781.466.2941 (f) www.ccs.neu.edu/home/lblando