Update Java version for ElasticSearch 7
Routine Windows updates may also include automatic updates for Amazon Corretto version of Java. If this happens and the server is rebooted ElasticSearch will not come back online. This is because the path for the Java installation has changed.
Update Java path for ElasticSearch 7
1.) Using command prompt in admin mode navigate to the folder where ElasticSearch 7 is installed.
Run the command elasticsearch-service manager
2.) Update the path for the new version of the jvm.dll. Usually, you just need to update the version folder:
3.) Start the ElasticSearch service under Windows Services.
If the service still refuses to start then navigate to the log folder for your version of ElasticSearch 7 (e.g. C:\elasticsearch-7.17.6\logs). Inspect the latest logs for details and rectify any outstanding issues. If you have any problems please contact our helpdesk with the logs.
Please sign in to leave a comment.