Skip to content

Commit

Permalink
Change Java version to openjdk-8
Browse files Browse the repository at this point in the history
  • Loading branch information
lucernae committed Jul 9, 2019
1 parent 93c4ed0 commit 04ca8d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ install:
- sudo add-apt-repository -y ppa:webupd8team/java; sudo apt update;
- echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections;
- echo debconf shared/accepted-oracle-license-v1-1 seen true | sudo debconf-set-selections;
- sudo apt install -y oracle-java8-set-default ant maven;
- sudo update-java-alternatives --set java-8-oracle;
- sudo apt install -y openjdk-8-jre openjdk-8-jdk ant maven;
- sudo update-java-alternatives --set java-1.8.0-openjdk-amd64;
- export JAVA_HOME=$(readlink -f /usr/bin/java | sed "s:bin/java::")
- export PATH=$JAVA_HOME'bin/java':$PATH
- sudo apt-get update
Expand Down

0 comments on commit 04ca8d7

Please sign in to comment.