If you look at the support matrix, you will not be able to go higher than Elasticsearch 2.4 if you stay on Java 7 (which has been EOL for over 3 years...). Given that Java7 has not been patched for quite some time, I would expect the security team to prefer a more up-to-date version...
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.