The download-java-all-os.sh is a script whose functioning is devised by Kathy Don to grab binaries for all release OS-es of a new JDK version from Zulu, then svn commit them to TRAC's cli-extensions/selfcontained-jdk/downloads It's all to be done from a single linux machine, as only our assigned linux boxes have currently been given the privilege to svn commit large files. *************************************************************** USAGE: To commit the binaries of a new JDK version for all OS *************************************************************** 1. Sit at a UNIX machine that has permissions to SVN commit large files (>=100Mb) such as JDK tarballs to greenstone TRAC. 2. Run the following commands: svn co --depth files https://svn.greenstone.org/main/trunk/cli-extensions cd cli-extensions ./download-java-all-os.sh e.g. ./download-java-all-os.sh 11.88.17-ca-jdk11.0.31 3. Edit the following 2 files (maybe from a release-machine's gs-release-builder/ext-cli folder): - https://svn.greenstone.org/main/trunk/ext-cli/get-selfcontained-jdk.sh - https://svn.greenstone.org/main/trunk/ext-cli/get-selfcontained-jdk.bat to update their value for their JDK11 variable to the new JDK you provided to the download-java-all-os.sh script. NOTE: If moving up from JDK11 to JDKN, then - create a new variable JDKN= - update GS_VER=N, - update GS_JDK=%JDKN% (GS_JDK=$JDKN in get-selfcontained-jdk.sh) - The usage() display may need updating - But the minimum version of JDK expected by Greenstone must also be updated in gs3-setup.sh|bat for GS3, and gs2build/setup.bas|bat for GS2. - Not sure if search4j is affected, but if so, it needs updating, and gs-release-builder/release-kits will need an SVN update run on it If moving up EXP_VER to Nfx, then in get-selfcontained-jdk: - create a new variable JDKN_FX_64= - update EXP_VER=Nfx - update EXP_JDK_FX=$JDKN_FX_64 - Maybe the usage display needs updating - Not sure if search4j is affected, but if so, see above. Update this README if any other affected files are identified that need modifying when changing to a new JDK major version number. 4. svn commit both ext-cli/get-selfcontained-jdk.sh and ext-cli/get-selfcontained-jdk.bat 5. On each release-machine, cd into gs-release-builder/ext-cli and svn update.