diff -r e5b423c2edd1 -r dc25e69fd16d hotspot/agent/make/start-debug-server-proc.sh --- a/hotspot/agent/make/start-debug-server-proc.sh Fri Aug 17 16:47:04 2012 -0700 +++ b/hotspot/agent/make/start-debug-server-proc.sh Thu Aug 30 11:20:01 2012 -0400 @@ -25,10 +25,11 @@ . `dirname $0`/saenv.sh -if [ -f $STARTDIR/sa.jar ] ; then - CP=$STARTDIR/sa.jar +if [ -f $STARTDIR/../lib/sa-jdi.jar ] ; then + CP=$STARTDIR/../lib/sa-jdi.jar else CP=$STARTDIR/../build/classes fi -$SA_JAVA -classpath $CP ${OPTIONS} -Djava.rmi.server.codebase=file:/$CP -Djava.security.policy=$STARTDIR\/grantAll.policy sun.jvm.hotspot.DebugServer $* +$STARTDIR/java -classpath $CP ${OPTIONS} -Djava.rmi.server.codebase=file://$CP -Djava.security.policy=${STARTDIR}/grantAll.policy sun.jvm.hotspot.DebugServer $* +