- Timestamp:
- 2009-09-21T14:29:59+12:00 (15 years ago)
- Location:
- gsdl/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/findjava.sh
r20650 r20655 68 68 # Give search4j a hint to find Java depending on the platform 69 69 if [ $GSDLOS = linux ]; then 70 HINT=`cd $GSDLHOME;pwd`/packages/jre70 HINT=`cd "$GSDLHOME";pwd`/packages/jre 71 71 elif [ $GSDLOS = darwin ]; then 72 72 HINT=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home … … 132 132 SEARCH4J_EXECUTABLE=search4j 133 133 elif [ -x "$GSDLHOME/bin/$GSDLOS/search4j" ]; then 134 SEARCH4J_EXECUTABLE= $GSDLHOME/bin/$GSDLOS/search4j134 SEARCH4J_EXECUTABLE="$GSDLHOME/bin/$GSDLOS/search4j" 135 135 elif [ -x "$GSDL3SRCHOME/bin/$GSDLOS/search4j" ]; then 136 SEARCH4J_EXECUTABLE= $GSDL3SRCHOME/bin/search4j136 SEARCH4J_EXECUTABLE="$GSDL3SRCHOME/bin/search4j" 137 137 elif [ -x "../bin/$GSDLOS/search4j" ]; then 138 138 SEARCH4J_EXECUTABLE=../bin/$GSDLOS/search4j -
gsdl/trunk/gs2-server.bat
r20635 r20655 32 32 pushd "%gsdl2path%" 33 33 call setup.bat 34 ::echo **** GSDLOS: %GSDLOS% and GSDLHOME: %GSDLHOME%34 rem echo **** GSDLOS: %GSDLOS% and GSDLHOME: %GSDLHOME% 35 35 popd 36 36 ) … … 116 116 :: ---- Check Java ---- 117 117 :chkjava 118 :: call the script with source, so that we have the variables it sets ($javapath)118 :: call the script with source, so that we have the variables JAVA_EXECUTABLE and GS_JAVA_HOME it sets 119 119 set exit_status=0 120 120 :: Need to find Java. If found, JAVA_EXECUTABLE will be set … … 122 122 call "%GSDLHOME%\findjava.bat" 123 123 if "%JAVA_EXECUTABLE%" == "" echo **** No Java executable found& goto exit 124 set PATH=%GS_JAVA_HOME%\bin;%PATH% 124 125 125 126
Note:
See TracChangeset
for help on using the changeset viewer.