From kedar@ccs.neu.edu Tue Feb 11 16:17:11 1997 To: Karl Lieberherr Subject: Re: Demeter/Java under windows Hi, I have set up demjava on my machine( It was unbelievably smooth). Currently the class hierarchy on my PC is c:\msdev\projects\gef |_ gjt |_ demeter |_ Ident.class |_ tools |_ demjava |_ uci |_ util |_ graphedit c:\msdev\jack-0.5 |_ COM |_sun |_ tools |_ jack The batch file is demjava.bat jview /cp c:\msdev\projects\gef demeter.tools.demjava.Program -code %1 jview /cp c:\msdev\projects\gef demeter.tools.demjava.Program -grammar %1 jview /cp c:\msdev\jack-0.5 COM.sun.labs.jack.Main %1.jack jvc %1.java Parser.java ParseError.java ParserConstants.java ParserTokenManager.java Token.java ASCII_UCodeESC_CharStream.java So to generate and compile code demjava demdraw This generates the code and compiles it perfectly. THE ONLY PROBLEM IS WITH THE JACK The same command jack demdraw.jack works fine on unix and it doesn't on windows. It gives parse error.( I tried generating the demdraw.jack on unix machine and then ftping to PC. But still it didn't work. ) I think this is a bug in j++.( Binoy's program works perfectly on unix but not on windows under j++). In nutshell the parser is not generated on PC. Currently the software that I am using is the one that Alberto got with the book. I guess it is the beta version. Is there any other copy of j++ with which I can cross check. Or should I try JDK1.0.2 from Javasoft. kedar .. Karl Lieberherr wrote: > > Kedar: > > please can you send me instructions on running Demeter/Java > under windows. How is the demjava command expressed in Windows? > > Please test it on your PC. > > -- Karl -- KEDAR P. PATANKAR Office : College of Computer Science, Home : 75, St. Alphonsus Street, Northeastern University, Apartment 202, Boston 161 Cullinane Hall, Boston, MA 02120, USA MA 02115, USA Phone: (617)739-7476 Phone : (617) 373-7921 E-mail : kedar@ccs.neu.edu