Last change
on this file since 35713 was 35713, checked in by davidb, 2 years 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
|
---|
5 | export JAVA_HOME="$PWD/zulu-jdk8-64bit"
|
---|
6 |
|
---|
7 | if [ ! -d "$JAVA_HOME" ] ; then
|
---|
8 | echo "$JAVA_HOME not found. Exiting..." >&2
|
---|
9 | return
|
---|
10 | fi
|
---|
11 |
|
---|
12 | export PATH="$JAVA_HOME/bin:$PATH"
|
---|
13 | echo + "Set JAVA_HOME to local instance and updated PATH"
|
---|
14 |
|
---|
15 |
|
---|
16 | echo "**** Need to optionally test for local Perl5 and if preset add it in"
|
---|
17 |
|
---|
18 | export ANT_HOME="$PWD/ant"
|
---|
19 | export PATH=$ANT_HOME/bin:$PATH
|
---|
20 |
|
---|
21 | echo "+ Set ANT_HOME=$ANT_HOME and updated PATH"
|
---|
22 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.