Changeset 14724
- Timestamp:
- 2007-10-23T16:57:09+13:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
greenstone3/branches/3.03/resources/tomcat/setclasspath.sh
r11288 r14724 7 7 8 8 # First clear out the user classpath 9 # gs3 - we need to set classpath10 9 CLASSPATH=$CLASSPATH 11 10 12 11 # Make sure prerequisite environment variables are set 13 12 if [ -z "$JAVA_HOME" -a -z "$JRE_HOME" ]; then 14 echo "Neither the JAVA_HOME nor the JRE_HOME environment variable is defined" 15 echo "At least one of these environment variable is needed to run this program" 16 exit 1 13 # Bugzilla 37284 14 if $darwin && [ -d "/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home" ]; then 15 export JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home" 16 else 17 echo "Neither the JAVA_HOME nor the JRE_HOME environment variable is defined" 18 echo "At least one of these environment variable is needed to run this program" 19 exit 1 20 fi 17 21 fi 18 22 if [ -z "$JAVA_HOME" -a "$1" = "debug" ]; then
Note:
See TracChangeset
for help on using the changeset viewer.