We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dfe3f4 commit 7108f85Copy full SHA for 7108f85
scripts/travis/install_elasticsearch.sh
@@ -4,8 +4,8 @@ then
4
sudo apt-get update -y
5
sudo apt-get install -y openjdk-7-jre
6
java --version
7
- sudo update-alternatives --config java
8
- sudo update-alternatives --help
+ sudo update-alternatives --set java /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java
+ java --version
9
sudo apt-get purge -y elasticsearch
10
wget https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz
11
tar -xzf elasticsearch-${ES_VERSION}.tar.gz
0 commit comments