A
A
Apostol632020-08-09 18:38:08
Java
Apostol63, 2020-08-09 18:38:08

Why does it say could not java in JAVA_HOME?

Good day everyone!
I'm trying to install elasticsearch as it is written on the site ( here )

I register the command and get the answer
5f3017e479623774963087.png

Here is my variable
5f3018077d9de687818839.png

Please tell me what I missed? In the console, java -version produces a normal response
5f30185dbc37e486231820.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2020-08-09
@Apostol63

JAVA_HOME must point to the JDK root, not the bin directory.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question