We are using below version of Java for logstash and elasticsearch in our environment.
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?