agent/make/saenv.sh
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 7088955 Sdiff agent/make

agent/make/saenv.sh

Print this page




  53      LD_AUDIT_32=$STARTDIR/../src/os/solaris/proc/`uname -p`/libsaproc_audit.so
  54      export LD_AUDIT_32
  55      if [ ! -f $LD_AUDIT_32 ]; then
  56        echo "SA_ALTROOT is set and can't find libsaproc_audit.so."
  57        echo "Make sure to build it with 'make natives'."
  58        exit 1
  59      fi
  60    fi
  61    SA_LIBPATH=$STARTDIR/../src/os/solaris/proc/`uname -p`:$STARTDIR/solaris/`uname -p`
  62    OPTIONS="-Dsa.library.path=$SA_LIBPATH -Dsun.jvm.hotspot.debugger.useProcDebugger"
  63    CPU=sparc
  64 fi
  65 
  66 if [ "x$SA_DISABLE_VERS_CHK" != "x" ]; then
  67    OPTIONS="-Dsun.jvm.hotspot.runtime.VM.disableVersionCheck ${OPTIONS}"
  68 fi
  69 
  70 
  71 SA_CLASSPATH=$STARTDIR/../build/classes:$STARTDIR/../src/share/lib/js.jar:$STARTDIR/sa.jar:$STARTDIR/lib/js.jar
  72 








  73 OPTIONS="-Djava.system.class.loader=sun.jvm.hotspot.SALauncherLoader ${OPTIONS}"
  74 
  75 SA_JAVA_CMD="$SA_PREFIX_CMD $SA_JAVA -showversion ${OPTIONS} -cp $SA_CLASSPATH $SA_OPTIONS"


  53      LD_AUDIT_32=$STARTDIR/../src/os/solaris/proc/`uname -p`/libsaproc_audit.so
  54      export LD_AUDIT_32
  55      if [ ! -f $LD_AUDIT_32 ]; then
  56        echo "SA_ALTROOT is set and can't find libsaproc_audit.so."
  57        echo "Make sure to build it with 'make natives'."
  58        exit 1
  59      fi
  60    fi
  61    SA_LIBPATH=$STARTDIR/../src/os/solaris/proc/`uname -p`:$STARTDIR/solaris/`uname -p`
  62    OPTIONS="-Dsa.library.path=$SA_LIBPATH -Dsun.jvm.hotspot.debugger.useProcDebugger"
  63    CPU=sparc
  64 fi
  65 
  66 if [ "x$SA_DISABLE_VERS_CHK" != "x" ]; then
  67    OPTIONS="-Dsun.jvm.hotspot.runtime.VM.disableVersionCheck ${OPTIONS}"
  68 fi
  69 
  70 
  71 SA_CLASSPATH=$STARTDIR/../build/classes:$STARTDIR/../src/share/lib/js.jar:$STARTDIR/sa.jar:$STARTDIR/lib/js.jar
  72 
  73 if [ ! -z "$SA_TYPEDB" ]; then
  74   if [ ! -f $SA_TYPEDB ]; then
  75     echo "$SA_TYPEDB is unreadable"
  76     exit 1
  77   fi
  78   OPTIONS="-Dsun.jvm.hotspot.typedb=$SA_TYPEDB ${OPTIONS}"
  79 fi
  80 
  81 OPTIONS="-Djava.system.class.loader=sun.jvm.hotspot.SALauncherLoader ${OPTIONS}"
  82 
  83 SA_JAVA_CMD="$SA_PREFIX_CMD $SA_JAVA -showversion ${OPTIONS} -cp $SA_CLASSPATH $SA_OPTIONS"
agent/make/saenv.sh
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File