diff options
author | Dana Powers <dana.powers@gmail.com> | 2019-03-12 20:27:34 -0700 |
---|---|---|
committer | Dana Powers <dana.powers@gmail.com> | 2019-03-12 20:27:34 -0700 |
commit | 331ed0ece88640b391daf95820878107d2340681 (patch) | |
tree | 88c6ff35caa2febd50f6de4508e3e41a5be27f2b | |
parent | 59f1e1251569ac06a81183137a42566fa16c043a (diff) | |
download | kafka-python-331ed0ece88640b391daf95820878107d2340681.tar.gz |
list available java alternatives b/c this isnt working...
-rw-r--r-- | travis_java_install.sh | 5 |
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 |