From ecd95dab9b957fb3ffaae8df0a13119a017d7e4a Mon Sep 17 00:00:00 2001 From: David Pilato Date: Thu, 31 Jul 2014 00:11:53 +0200 Subject: [PATCH] Docs: use Oracle Java by default Installing Oracle JVM is as easy as: ``` 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 add-apt-repository ppa:webupd8team/java && sudo apt-get update && sudo apt-get install oracle-java7-installer ``` See http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html Closes #19. --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 975ed8c1ee9..a2439fa3af5 100644 --- a/README.md +++ b/README.md @@ -209,11 +209,15 @@ ssh azure-elasticsearch-cluster.cloudapp.net Once connected, install Elasticsearch: ```sh -# Install Latest OpenJDK -# If you would like to use Oracle JDK instead, read the following: -# http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html +# Install Latest Java version +# Read http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html for details +sudo add-apt-repository ppa:webupd8team/java sudo apt-get update -sudo apt-get install openjdk-7-jre-headless +sudo apt-get install oracle-java7-installer + +# If you want to install OpenJDK instead +# sudo apt-get update +# sudo apt-get install openjdk-7-jre-headless # Download Elasticsearch curl -s https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.0.0.deb -o elasticsearch-1.0.0.deb