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 59c6465 commit d9ec597Copy full SHA for d9ec597
scripts/travis/install_elasticsearch.sh
@@ -2,11 +2,12 @@ if [ $ES_VERSION ]
2
then
3
sudo add-apt-repository -y ppa:openjdk-r/ppa
4
sudo apt-get update -y
5
- sudo apt-get install -y openjdk-7-jre
+ sudo apt-get install -y openjdk-7-jdk
6
java --version
7
sudo update-java-alternatives --list
8
sudo update-java-alternatives --set java-1.7.0-openjdk-amd64
9
10
+
11
sudo apt-get purge -y elasticsearch
12
wget https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz
13
tar -xzf elasticsearch-${ES_VERSION}.tar.gz
0 commit comments