Elasticsearch plugin error while installing analysis-icu,zenity and analysis-phonetic

Elastic search plugin error while installing analysis-icu:

$bin/elasticsearch-plugin install analysis-icu
Error: Could not find or load main class org.elasticsearch.plugins.PluginCli
Caused by: java.lang.ClassNotFoundException: org.elasticsearch.plugins.PluginCli

I set ES_CLASSPATH="/elasticsearch-7.12.0/lib/*" in elasticsearch-env as mentioned in:java - Elasticsearch: Could not find or load main class org.elasticsearch.tools.launchers.JavaVersionChecker - Stack Overflow.
I am using WINDOWS 10 and java 16 installed and set environment variable to:"C:\Program Files\Java\jdk-16\bin".

Welcome!

As you are using Windows, I think that the easiest way to do things is to install following the installation guide.

I think you'd just have to choose the right option then:

1 Like

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