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 |
|
---|
4 | if [ "x$RK_HOME" != "x" ] ; then
|
---|
5 | echo "Your Environment has already been set up for the Greenstone Release Kit!!"
|
---|
6 | return 0
|
---|
7 | fi
|
---|
8 |
|
---|
9 | export RK_HOME="`pwd`"
|
---|
10 | export PATH="$RK_HOME/bin":$PATH
|
---|
11 |
|
---|
12 | echo "Set RK_HOME and added RK_HOME/bin into PATH"
|
---|
13 |
|
---|
14 | export RK_HOME_BACKSLASH_ESCAPED=`echo $RK_HOME | sed 's/ /\\\\ /g'`
|
---|
15 |
|
---|
16 | export JAVACFLAGS="-source 1.8 -target 1.8 -bootclasspath $RK_HOME_BACKSLASH_ESCAPED/shared/core/java-rt/rt-openjdk8.jar -extdirs ''"
|
---|
17 |
|
---|
18 | echo "Set JAVACFLAGS to compile for source, and to target, 1.8"
|
---|
Note:
See
TracBrowser
for help on using the repository browser.