Elasticsearch 7.3.2 plugin install could not find java Raspberry Pi4 Buster

After installation of Elasticserach 7.3.2. on Raspberry Pi4 / Buster,

sudo /usr/share/elasticsearch/bin/elasticsearch-plugin install ingest-attachment
could not find java in JAVA_HOME or bundled at /usr/share/elasticsearch/jdk/bin/java
$ echo $JAVA_HOME
/usr/lib/jvm/java-11-openjdk-armhf/

The service is running.
Can anyone help please?

I got it managed.
with

sudo cp -rf /usr/lib/jvm/java-11-openjdk-armhf/* /usr/share/elasticsearch/jdk

The next question is now: Why do I need to copy the java lib if elesticserach was running before as well?? JAVA_HOME was set correctly, correct enough for elasticsearch.service
Thanks for ideas! :slightly_smiling_face:

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