Mercurial > hg > truffle
comparison agent/make/start-debug-server-proc.sh @ 6641:a9fed06c01d2
7154641: Servicability agent should work on platforms other than x86, sparc
Summary: Added capability to load support classes for other cpus
Reviewed-by: coleenp, bobv, sla
Contributed-by: Bill Pittore <bill.pittore@oracle.com>
author | bpittore |
---|---|
date | Thu, 30 Aug 2012 11:20:01 -0400 |
parents | c18cbe5936b8 |
children | fac3dd92ebaf |
comparison
equal
deleted
inserted
replaced
6640:e2cc1fe53845 | 6641:a9fed06c01d2 |
---|---|
23 # | 23 # |
24 # | 24 # |
25 | 25 |
26 . `dirname $0`/saenv.sh | 26 . `dirname $0`/saenv.sh |
27 | 27 |
28 if [ -f $STARTDIR/sa.jar ] ; then | 28 if [ -f $STARTDIR/../lib/sa-jdi.jar ] ; then |
29 CP=$STARTDIR/sa.jar | 29 CP=$STARTDIR/../lib/sa-jdi.jar |
30 else | 30 else |
31 CP=$STARTDIR/../build/classes | 31 CP=$STARTDIR/../build/classes |
32 fi | 32 fi |
33 | 33 |
34 $SA_JAVA -classpath $CP ${OPTIONS} -Djava.rmi.server.codebase=file:/$CP -Djava.security.policy=$STARTDIR\/grantAll.policy sun.jvm.hotspot.DebugServer $* | 34 $STARTDIR/java -classpath $CP ${OPTIONS} -Djava.rmi.server.codebase=file://$CP -Djava.security.policy=${STARTDIR}/grantAll.policy sun.jvm.hotspot.DebugServer $* |
35 |