Hi Ed: you are right, setting the CLASSPATH correctly requires special work. If you want to use Demeter/Java, your CLASSPATH environment variable has to include: /proj/demsys/demjava/classes If you want to run an Applet, set CLASSPATH to empty using: setenv CLASSPATH You can check the setting, using echo $CLASSPATH Unfortunately, a better solution is not known at this point but systems is working on it. -- Karl L. ----------- From dougo@ccs.neu.edu Thu Jan 16 13:41:42 1997 From: Doug Orleans To: com1205@ccs.neu.edu cc: lieber@ccs.neu.edu, wand@ccs.neu.edu, boaz@ccs.neu.edu, johan@ccs.neu.edu, binoy@ccs.neu.edu, kedar@ccs.neu.edu, lth@ccs.neu.edu, ghulten@ccs.neu.edu Subject: java and javac scripts Systems has put links in /arch/com/bin and /arch/unix/bin for "java" and "javac", respectively, so I've removed the "java" script in /proj/demsys/demjava/bin. If you're running demjava-compiled programs, please make sure you have "/proj/demsys/demjava/classes" present in your $CLASSPATH environment variable, so the Java VM can find the "demeter.*" classes. (You should probably set it in your ~/.software file.) Please let me know if you're still having problems with any of these scripts, on either SunOS 4 or DEC Alpha. --Doug From edwong@ccs.neu.edu Sat Jan 18 17:56:12 1997 Date: Sat, 18 Jan 1997 17:56:10 -0500 (EST) From: Edward Wong To: Karl Lieberherr Subject: Problem when running java Hi Professor Lieberherr, When I run java Main < statistics.input in my home directory or in the course directory(in the capacity-check directory), I get this error: ld.so: warning: /usr/lib/libc.so.1.8 has older revision than expected 9 java.lang.NoClassDefFoundError: demeter/Ident at Parser.Ident(Parser.java:352) at Parser.Simple(Parser.java:273) at Parser.Item(Parser.java:260) at Parser.Nonempty_Item_List(Parser.java:341) at Parser.Item_List(Parser.java:330) at Parser.Container(Parser.java:243) at Container.parse(statistics.java:40) at Main.main(statistics.java:281) I set the path: set path = ($path /proj/demsys/demjava/bin ) I didn't set the classpath environment variable because it interfered with running applets on the net. Is this the cause of the problem? I am a bit confused on when to set this variable and when not to. Thanks. Edward