export DISPLAY=dhcp-153-158.inf.ed.ac.uk:0.0 rm CommandQueueRun*.* rm ErrorsCom*.* rm tra* ps -C rmiregistry|awk '$1 ~/[0-9]+/{print $1}'|xargs kill -9 ps|grep java|cut -c1-6|xargs kill unset CLASSPATH /home/jgrunche/jre1.5.0_01/bin/rmiregistry & /home/jgrunche/jre1.5.0_01/bin/java -Xss512k -Xms15m -Xmx1800m -Djava.rmi.server.codebase="file:///home/jgrunche/NMLPLAY/nml_play.jar file:///home/jgrunche/NMLPLAY/Holger_modules.jar" -Djava.security.policy=/home/jgrunche/NMLPLAY/policy -classpath /home/jgrunche/NMLPLAY/nml_play.jar:/home/jgrunche/NMLPLAY/Holger_modules.jar:/home/jgrunche/NMLPLAY/jdom.jar:/home/jgrunche/jre1.5.0_01/lib/ext/j3dcore.jar:/home/jgrunche/jre1.5.0_01/lib/ext/j3dutils.jar:/home/jgrunche/jre1.5.0_01/lib/ext/vecmath.jar neosim.rmikernel.RmiServer $1 & sleep 2 /home/jgrunche/jre1.5.0_01/bin/java -Xss512k -Xms15m -Xmx1800m -Djava.rmi.server.codebase="file:///home/jgrunche/NMLPLAY/nml_play.jar file:///home/jgrunche/NMLPLAY/Holger_modules.jar" -Djava.security.policy=/home/jgrunche/NMLPLAY/policy -classpath /home/jgrunche/NMLPLAY/nml_play.jar:/home/jgrunche/NMLPLAY/Holger_modules.jar:/home/jgrunche/NMLPLAY/jdom.jar:/home/jgrunche/jre1.5.0_01/lib/ext/j3dcore.jar:/home/jgrunche/jre1.5.0_01/lib/ext/j3dutils.jar:/home/jgrunche/jre1.5.0_01/lib/ext/vecmath.jar nmlplay.NMLPlay_2 $2