Mercurial > hg > truffle
view agent/make/start-debug-server @ 4960:86ce3208eb18
7145798: System.loadLibrary does not search current working directory
Summary: Append "." to java.library.path on MacOS X to ease migration from Apple's Java6 to OpenJDK7.
Reviewed-by: phh, jmelvin, coleenp
author | dcubed |
---|---|
date | Fri, 17 Feb 2012 15:55:27 -0800 |
parents | a61af66fc99e |
children |
line wrap: on
line source
#!/bin/sh STARTDIR=`dirname $0` if [ "x$SA_JAVA" = "x" ]; then SA_JAVA=java fi if [ -f $STARTDIR/sa.jar ] ; then CP=$STARTDIR/sa.jar else CP=$STARTDIR/../build/classes fi # License file for development version of dbx setenv LM_LICENSE_FILE 7588@extend.eng:/usr/dist/local/config/sparcworks/license.dat:7588@setlicense $SA_JAVA -Xbootclasspath/p:$CP -Djava.rmi.server.codebase=file:/$CP -Djava.security.policy=$STARTDIR\/grantAll.policy sun.jvm.hotspot.DebugServer $*