Error cannot execute binary file when trying to run elasticsearch after installation

Hello,
when trying to install Elasticsearch 7.5, I get the following error mentioned in the subject
I have just followed the instructions here:
https://www.elastic.co/guide/en/elastic-stack-get-started/7.5/get-started-elastic-stack.html#linux

So, I run the following commands

I don't understand because I have openjdk version "1.8.0_03-Ubuntu that seems to be compatible and also Ubuntu 16.04.3 LTS with Kernel Linux 4.10.0-28-generic and x86 as Architecture. All those seem to be compatible according to Support Matrix web page ( https://www.elastic.co/es/support/matrix#matrix_jvm )

Could someone give a tip about what is happening?

Thanks and regards,

It seems, that the java bundled with Elasticsearch cannot be executed. Can you try to set JAVA_HOME environment variable to your openjdk installation?

Apart from that, is this any special hardware architecture, where Elasticsearch is running on?

1 Like

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