From the screen shots posted, there are two things pointed out. First: For future versions of elastic search java 11 is needed. This is only an informational message.
From the subsequent screen shots, you have shown that java 11 is installed. But hat is not the default java for the userid running the program. Suggestions from @SultanX and install documents should help in changing the default java. Under such circumstances I would prefer to remove the default open-jdk-1.8 and install 0pen-jdk-11.
Second: The second is the error notification. This is the error message. Correlating with the first message I suspect java version is not the cause. Please refer to elastic search documentation or approach the vendor for assistantancd.
... View more