source: trunk/local-devel.bash.in

Last change on this file was 773, checked in by davidb, 10 years ago

Files for being 'sourced' changed from .sh to .bash

  • Property svn:executable set to *
File size: 410 bytes
Line 
1
2
3which javac >/dev/null 2>&1
4
5if [ $? != 0 ] ; then
6 export JAVA_HOME="**Replace with your value for JAVA home**"
7 export PATH=$JAVA_HOME/bin/:$PATH
8
9 echo "+ Set JAVA_HOME to $JAVA_HOME and updated path"
10
11 cygpath 2>/dev/null
12 if [ $? != 0 ] ; then
13 echo "Detected runing in Cygwin environment => Changing JAVA_HOME to Windows native format"
14 export JAVA_HOME=`cygpath -w "$JAVA_HOME"`
15 fi
16fi
17
18
Note: See TracBrowser for help on using the repository browser.