We are using below version of Java for logstash and elasticsearch in our environment.
java -version
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)
We need to know like Do we need jdk and jre to run logstash and elasticsearch or jre itself enough?
You just need a JRE. The JDK will be helpful for troubleshooting as it contains a few tools that help in that regard. But operationally, just the JRE is needed.
The JDK contains the JRE, plus additional tools and components that are useful for debugging and troubleshooting, in addition to being necessary for doing development work in Java. To just run a Java program, you only need the JRE.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.