Hi elastic community. Hope everyone is doing well.
we are using Elasticsearch 7.11.1 version in which we are having jdk Installed version: 15.0.1 now we have received a security VA and suggested to Upgrade to a version greater than 15.0.1.
However, from 7.11 version I can't directly upgrade to 8 elastic version, how can I handle this? is there any possibility to upgrade the JDK version greater than 15.0.1 without upgrading the elastic version. please suggest. Thanks in Advance.
Hi @amjad,
Welcome back! It is possible to specify your own JDK other than the default shipped with Elastic using the ES_JAVA_HOME
environment variable. However, looking at the JDK compatibility matrix on the Elastic website it looks to me that 7.11.x Elasticsearch doesn't support higher than 15.
Elasticsearch 7.11.x is past EOL, so given that and the JDK issue I would recommend upgrading. To upgrade form 7.11.x you would need to upgrade to 7.17.x first and from there you can use the Upgrade Assistant.
Hope that helps!
Hi @carly.richmond Thanks for solution.
I have one doubt if I need to upgrade to 7.17 x from 7.11 version will it have my required jdk version? How to upgrade to 7.17x version from 7.11 please share the steps. Thanks in Advance.
Hi @amjad,
You haven't specified which JDK you need. But if you want to use the bundled JDK you can check the release notes for the upgrade. For example, looking at the 7.17 release notes that version is bundled with Open JDK 21. (If you look at the JDK compatibility matrix I referred to previously you will see the compatible versions if you want to use your own JDK.
The recommended upgrade steps to 7.17.x are here. Simply select which source version you are upgrading from.
Hope that helps!