hotspot/agent/make/start-debug-server
author bpittore
Wed, 19 Sep 2012 17:22:49 -0400
changeset 13854 c98db7450588
parent 1 489c9b5090e2
permissions -rw-r--r--
7195372: Wrong copyright in new files Summary: Fixed copyrights Reviewed-by: dholmes Contributed-by: Bill Pittore <bill.pittore@oracle.com>
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
     1
#!/bin/sh
489c9b5090e2 Initial load
duke
parents:
diff changeset
     2
489c9b5090e2 Initial load
duke
parents:
diff changeset
     3
STARTDIR=`dirname $0`
489c9b5090e2 Initial load
duke
parents:
diff changeset
     4
489c9b5090e2 Initial load
duke
parents:
diff changeset
     5
if [ "x$SA_JAVA" = "x" ]; then
489c9b5090e2 Initial load
duke
parents:
diff changeset
     6
   SA_JAVA=java
489c9b5090e2 Initial load
duke
parents:
diff changeset
     7
fi
489c9b5090e2 Initial load
duke
parents:
diff changeset
     8
489c9b5090e2 Initial load
duke
parents:
diff changeset
     9
if [ -f $STARTDIR/sa.jar ] ; then
489c9b5090e2 Initial load
duke
parents:
diff changeset
    10
  CP=$STARTDIR/sa.jar
489c9b5090e2 Initial load
duke
parents:
diff changeset
    11
else
489c9b5090e2 Initial load
duke
parents:
diff changeset
    12
  CP=$STARTDIR/../build/classes
489c9b5090e2 Initial load
duke
parents:
diff changeset
    13
fi
489c9b5090e2 Initial load
duke
parents:
diff changeset
    14
489c9b5090e2 Initial load
duke
parents:
diff changeset
    15
# License file for development version of dbx
489c9b5090e2 Initial load
duke
parents:
diff changeset
    16
setenv LM_LICENSE_FILE 7588@extend.eng:/usr/dist/local/config/sparcworks/license.dat:7588@setlicense
489c9b5090e2 Initial load
duke
parents:
diff changeset
    17
489c9b5090e2 Initial load
duke
parents:
diff changeset
    18
$SA_JAVA -Xbootclasspath/p:$CP -Djava.rmi.server.codebase=file:/$CP -Djava.security.policy=$STARTDIR\/grantAll.policy sun.jvm.hotspot.DebugServer $*