Changeset 35713


Ignore:
Timestamp:
2021-10-28T11:51:49+13:00 (5 weeks ago)
Author:
davidb
Message:

Some work to bring the cygwin friendly '.sh' version up to date with the .bat version for JDK (note still need to do the same for Perl5)

Location:
local/greenstone3/windows-64bit
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • local/greenstone3/windows-64bit/gs3-setup.sh

    r30444 r35713  
    22# Useful when compiling with Cygwin on Windows
    33
    4 export JAVA_HOME=/cygdrive/c/Program\ Files/Java/jdk1.8.0_45
    5 export PATH=$JAVA_HOME/bin:$PATH
     4#export JAVA_HOME=/cygdrive/c/Program\ Files/Java/jdk1.8.0_45
     5export JAVA_HOME="$PWD/zulu-jdk8-64bit"
    66
    7 echo "+ Set JAVA_HOME=$JAVA_HOME and updated PATH"
     7if [ ! -d "$JAVA_HOME" ] ; then
     8   echo "$JAVA_HOME not found. Exiting..." >&2
     9   return
     10fi
     11   
     12export PATH="$JAVA_HOME/bin:$PATH"
     13echo + "Set JAVA_HOME to local instance and updated PATH"
    814
    9 export ANT_HOME=`pwd`/ant
     15
     16echo "**** Need to optionally test for local Perl5 and if preset add it in"
     17
     18export ANT_HOME="$PWD/ant"
    1019export PATH=$ANT_HOME/bin:$PATH
    1120
Note: See TracChangeset for help on using the changeset viewer.