Elastic search won't start with java 11 on ubuntu 18.04

When I start the elasticsearch service i got below error that are attached -

I have ElasticSearch 7.2 and JDK 11. Please help me to solve this issue.

Welcome to Elastic Forums Shiva!

Could you please give some more logs?

FYI, Elasticsearch is bundling JDK also now. You need to install Java specially.

Also, please follow below guidelines. Don't attach images, those are not readable.

Please format your code, logs or configuration files using </> icon as explained in this guide and not the citation button. It will make your post more readable.

Or use markdown style like: "```"

This is the icon to use if you are not using markdown format:

There's a live preview panel for exactly this reasons.

Lots of people read these forums, and many of them will simply skip over a post that is difficult to read, because it's just too large an investment of their time to try and follow a wall of badly formatted text.
If your goal is to get an answer to your questions, it's in your interest to make it as easy to read and understand as possible.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.