On CS:setenv DIR108 /afs/acpub.duke.edu/project/cps/pkgs/courseware
Also add this to your .cshrc file (same for both acpub and CS):setenv DIR108 /usr/project/courses/cps108
Now, 'source .cshrc' or 'source .environset', and you're all set to go.##### # set up joggle paths if ( $?CLASSPATH == 0 ) then setenv CLASSPATH ${DIR108}/java/classes/rmi.zip setenv CLASSPATH ${DIR108}/java/classes/joggle.zip:${CLASSPATH} else setenv CLASSPATH ${DIR108}/java/classes/rmi.zip:${CLASSPATH} setenv CLASSPATH ${DIR108}/java/classes/joggle.zip:${CLASSPATH} endif if ( $?LD_LIBRARY_PATH == 0 ) then setenv LD_LIBRARY_PATH ${DIR108}/java/rmi/lib/sparc else setenv LD_LIBRARY_PATH ${DIR108}/java/rmi/lib/sparc:${LD_LIBRARY_PATH} endif # end set up joggle paths #####
(if you can't find the java executables on CS machines, they're in /usr/pkg/java/bin. Add this to your path)java jogglesyam.JoggleSyam poitier myname
The source code to JoggleSyam and JoggleFEText shows you how to use JoggleAL. Let me know if there are any problems.