Problem java while upgrading elasticsearch 7.9.3 to 7.16

I've problem while upgrading Elasticsearch 7.9.3 to 7.16.
I've this message
" could not find java in bundled JDK at /usr/share/Elasticsearch/jdk/bin/java"
But things seems to be OK

  1. java -version
    openjdk version "1.8.0_262"
    OpenJDK Runtime Environment (build 1.8.0_262-b10)
    OpenJDK 64-Bit Server VM (build 25.262-b10, mixed mode)

  2. sudo update-alternatives --config java

There is 1 program that provides 'java'.

Selection Command

*+ 1 java-1.8.0-openjdk.x86_64 (/usr/lib/jvm/java-1.8.0-openjdk-

How can i fix this?


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