source: main/trunk/release-kits/rk-setup.bash@ 35651

Last change on this file since 35651 was 35634, checked in by davidb, 3 years ago

To support using a newer JDK (such as OpenJDK11) with the Release Kit code base to generate an installer that operates with the bundled JDK8 then we need to be more careful over the .class files that are compiled up. This is what this set of introduced mods does

File size: 602 bytes
Line 
1
2# Script assumes you are in the same directory as rk-setup.bash when it is sourced
3
4if [ "x$RK_HOME" != "x" ] ; then
5 echo "Your Environment has already been set up for the Greenstone Release Kit!!"
6 return 0
7fi
8
9export RK_HOME="`pwd`"
10export PATH="$RK_HOME/bin":$PATH
11
12echo "Set RK_HOME and added RK_HOME/bin into PATH"
13
14export RK_HOME_BACKSLASH_ESCAPED=`echo $RK_HOME | sed 's/ /\\\\ /g'`
15
16export JAVACFLAGS="-source 1.8 -target 1.8 -bootclasspath $RK_HOME_BACKSLASH_ESCAPED/shared/core/java-rt/rt-openjdk8.jar -extdirs ''"
17
18echo "Set JAVACFLAGS to compile for source, and to target, 1.8"
Note: See TracBrowser for help on using the repository browser.