summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Powers <dana.powers@gmail.com>2019-03-12 20:27:34 -0700
committerDana Powers <dana.powers@gmail.com>2019-03-12 20:27:34 -0700
commit331ed0ece88640b391daf95820878107d2340681 (patch)
tree88c6ff35caa2febd50f6de4508e3e41a5be27f2b
parent59f1e1251569ac06a81183137a42566fa16c043a (diff)
downloadkafka-python-331ed0ece88640b391daf95820878107d2340681.tar.gz
list available java alternatives b/c this isnt working...
-rw-r--r--travis_java_install.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/travis_java_install.sh b/travis_java_install.sh
index 3c53f9e..c4c3e67 100644
--- a/travis_java_install.sh
+++ b/travis_java_install.sh
@@ -18,8 +18,13 @@ java -version
#sudo apt-get install -y openjdk-8-jdk --no-install-recommends
echo "Updating java alternatives..."
+sudo update-java-alternatives -l
+sudo update-java-alternatives --help
sudo update-java-alternatives -s java-1.8.0-openjdk-amd64
+echo "update-alternatives --config java"
+sudo update-alternatives --config java
+
echo "New java -version"
java -version