Skip to content

Commit

Permalink
java: use jdk-11 by default since it is available in ubuntu 18-04
Browse files Browse the repository at this point in the history
  • Loading branch information
mishaschwartz committed Jun 5, 2019
1 parent 26d6e4a commit 1dcd36e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion testers/testers/java/bin/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e

install_packages() {
echo "[JAVA-INSTALL] Installing system packages"
sudo apt-get install python3 openjdk-8-jdk jq
sudo apt-get install python3 openjdk-11-jdk jq
}

compile_tester() {
Expand Down
2 changes: 1 addition & 1 deletion testers/testers/java/bin/uninstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ JAVADIR=${TESTERDIR}/lib
# main
remove_tester
reset_specs
echo "[JAVA-UNINSTALL] The following system packages have not been uninstalled: python3 openjdk-12-jdk jq. You may uninstall them if you wish."
echo "[JAVA-UNINSTALL] The following system packages have not been uninstalled: python3 openjdk-11-jdk jq. You may uninstall them if you wish."
rm -f ${SPECSDIR}/.installed
2 changes: 1 addition & 1 deletion testers/testers/jdbc/bin/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e

install_packages() {
echo "[JDBC-INSTALL] Installing system packages"
sudo apt-get install python3 openjdk-8-jdk jq
sudo apt-get install python3 openjdk-11-jdk jq
}

install_sql_tester() {
Expand Down
2 changes: 1 addition & 1 deletion testers/testers/jdbc/bin/uninstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ SPECSDIR=${TESTERDIR}/specs

# main
reset_specs
echo "[JDBC-UNINSTALL] The following system packages have not been uninstalled: python3 openjdk-12-jdk. You may uninstall them if you wish."
echo "[JDBC-UNINSTALL] The following system packages have not been uninstalled: python3 openjdk-11-jdk. You may uninstall them if you wish."
echo "[JDBC-UNINSTALL] The JDBC tester also installs the SQL tester. To remove the SQL tester as well run the uninstall.sh script in the sql/bin directory."
rm -f ${SPECSDIR}/.installed

0 comments on commit 1dcd36e

Please sign in to comment.