source: local/greenstone3/windows-64bit/gs3-setup.sh@ 35713

Last change on this file since 35713 was 35713, checked in by davidb, 8 months ago

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)

  • Property svn:executable set to *
File size: 530 bytes
Line 
1
2# Useful when compiling with Cygwin on Windows
3
4#export JAVA_HOME=/cygdrive/c/Program\ Files/Java/jdk1.8.0_45
5export JAVA_HOME="$PWD/zulu-jdk8-64bit"
6
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"
14
15
16echo "**** Need to optionally test for local Perl5 and if preset add it in"
17
18export ANT_HOME="$PWD/ant"
19export PATH=$ANT_HOME/bin:$PATH
20
21echo "+ Set ANT_HOME=$ANT_HOME and updated PATH"
22
Note: See TracBrowser for help on using the repository browser.