Please let us know if you continue to have installation problems. We are in the process of getting the instructions clear. -- Karl Please take a look at the changed web-page http://www.ccs.neu.edu/home/kedar/DemjavaUse.html for more information. -- Kedar ============================================== From intobj@ibm.net Thu Oct 30 22:47:58 1997 To: demeter@ccs.neu.edu Subject: Difficulties installing Demeter Java on Windows95 I have been trying to figure out what environment variables to set for Demeter Java without any success. Would you mind telling me what is wrong? This is my actual environment variables on my machine: > set JDKHOME=C:\JDK1.1.4 > set classpath=c:\jdk1.1.4\lib\classes.zip > SET SWINGHOME=C:\SWING-0.5.1 > set INSTALL_DIR=c:\apstudio > set APCLASSES=C:\APSTUDIO\classes\apstudio.jar;c:\swing-0.5.1\swing.jar > set JDKCLASSES=c:\jdk1.1.4\lib\classes.zip > set CLASSPATH=%APCLASSES%;%JDKCLASSES%;c:\demjava-064\demjava.jar;c:\javacc\JavaCC.zip;.; My current tree directory looks like this: >c:\demjava-064\bin\gen >c:\demjava-064\demeter\common\tg >c:\demjava-064\demeter\tools\demjava >c:\demjava-064\Meta-inf >c:\demjava-064\src\selftest Looking at the readme file located in the directory 'c:\demjava-064\bin', it says: > Files in this directory: > > demjava > > NOTE: You may have to set the executable bit on this file before > you can run it, e.g. "chmod a+x demjava". > > A /bin/sh script for invoking the demjava compiler. Where it > finds the bytecodes is governed by the following environment > variables: > > Variable Name Default value > ============= ============= > DEMJAVA_CLASSES $DEMJAVA_HOME/classes > DEMJAVA_HOME /proj/demsys/demjava/$DEMJAVA_VERSION > DEMJAVA_VERSION cur > > It uses the version of java on the current $PATH. > > demjava.bat > > A DOS batch file for invoking the demjava compiler, as well as > javacc (the parser generator) and javac (the Java compiler). It > assumes you have already set up your %CLASSPATH% appropriately. > > j-gen-make > > NOTE: You may have to set the executable bit on this file before > you can run it, e.g. "chmod a+x j-gen-make". > > A /bin/sh script for installing a sample GNUmakefile in the > current directory. Where it finds the template file > (GNUmakefile.template) is governed by the following environment > variables: > > Variable Name Default value > ============= ============= > DEMJAVA_SRC $DEMJAVA_HOME/src > DEMJAVA_HOME /proj/demsys/demjava/$DEMJAVA_VERSION > DEMJAVA_VERSION cur > > It copies any existing GNUmakefile to the backup file GNUmakefile~. > * I have no clue what to do with that file and how it related to Win95 platform. Could you tell me which environment variables I should define and what would be its contents based on my previous directory tree structure? >From a MS-Dos window, if I try to execute 'demjava -version' it does not work properly. If I try only a subset of demjava.bat which looks like 'java demjava-064.demeter.tools.demjava.Program', I am getting the error "Can't find class demjava-064/demeter/tools/demjava/Program". Any help would be greatly appreciated, Michel Brassard