Installing and Running Elasticsearch | Elasticsearch: The Definitive Guide [2.x] | Elastic: The only requirement for installing Elasticsearch is a recent version of Java. Preferably, you should install the latest version of the official Java from www.java.com.