make/hotspot.script
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File 8134898 Sdiff make

make/hotspot.script

Print this page




 110 fi
 111 
 112 if [ "${JDK}" != "" ]; then
 113     case "$OS" in
 114     CYGWIN*)
 115         JDK=`cygpath -m "$JDK"`
 116         ;;
 117         esac
 118 
 119 else
 120     echo "Failed to find JDK." \
 121         "Either ALT_JAVA_HOME is not set or JDK_IMPORT_PATH is empty."
 122     exit 1
 123 fi
 124 
 125 # We will set the LD_LIBRARY_PATH as follows:
 126 #     o         $JVMPATH (directory portion only)
 127 #     o         $JRE/lib/$ARCH
 128 # followed by the user's previous effective LD_LIBRARY_PATH, if
 129 # any.
 130 JRE=$JDK/jre
 131 JAVA_HOME=$JDK
 132 export JAVA_HOME
 133 
 134 ARCH=@@LIBARCH@@
 135 SBP=${MYDIR}:${JRE}/lib/${ARCH}
 136 
 137 
 138 # Set up a suitable LD_LIBRARY_PATH or DYLD_LIBRARY_PATH
 139 if [ "${OS}" = "Darwin" ]
 140 then
 141     if [ -z "$DYLD_LIBRARY_PATH" ]
 142     then
 143         DYLD_LIBRARY_PATH="$SBP"
 144     else
 145         DYLD_LIBRARY_PATH="$SBP:$DYLD_LIBRARY_PATH"
 146     fi
 147     export DYLD_LIBRARY_PATH
 148 else
 149     # not 'Darwin'
 150     if [ -z "$LD_LIBRARY_PATH" ]




 110 fi
 111 
 112 if [ "${JDK}" != "" ]; then
 113     case "$OS" in
 114     CYGWIN*)
 115         JDK=`cygpath -m "$JDK"`
 116         ;;
 117         esac
 118 
 119 else
 120     echo "Failed to find JDK." \
 121         "Either ALT_JAVA_HOME is not set or JDK_IMPORT_PATH is empty."
 122     exit 1
 123 fi
 124 
 125 # We will set the LD_LIBRARY_PATH as follows:
 126 #     o         $JVMPATH (directory portion only)
 127 #     o         $JRE/lib/$ARCH
 128 # followed by the user's previous effective LD_LIBRARY_PATH, if
 129 # any.
 130 JRE=$JDK
 131 JAVA_HOME=$JDK
 132 export JAVA_HOME
 133 
 134 ARCH=@@LIBARCH@@
 135 SBP=${MYDIR}:${JRE}/lib/${ARCH}
 136 
 137 
 138 # Set up a suitable LD_LIBRARY_PATH or DYLD_LIBRARY_PATH
 139 if [ "${OS}" = "Darwin" ]
 140 then
 141     if [ -z "$DYLD_LIBRARY_PATH" ]
 142     then
 143         DYLD_LIBRARY_PATH="$SBP"
 144     else
 145         DYLD_LIBRARY_PATH="$SBP:$DYLD_LIBRARY_PATH"
 146     fi
 147     export DYLD_LIBRARY_PATH
 148 else
 149     # not 'Darwin'
 150     if [ -z "$LD_LIBRARY_PATH" ]


make/hotspot.script
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File