Hello,
I try to install the OpenNlp plugin on my local machine with the command
bin/elasticsearch-plugin install https://github.com/spinscale/elasticsearch-ingest-opennlp/releases/download/7.15.2.1/ingest-opennlp-7.15.2.1.zip
But the commande send the following exception
Exception in thread "main" java.lang.IllegalStateException: ingest-opennlp requires Java 17:, your system: 11
I don't understand why because :
java --version
java 17.0.1 2021-10-19 LTS
Java(TM) SE Runtime Environment (build 17.0.1+12-LTS-39)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.1+12-LTS-39, mixed mode, sharing)
javac --version
javac 17.0.1
echo $JAVA_HOME
/usr/lib/jvm/java-17-oracle
echo $ES JAVA_HOME
JAVA_HOME
And my Elasticsearch node java version is :
"jvm" : {
"pid" : 9360,
"version" : "17.0.1",
"vm_name" : "Java HotSpot(TM) 64-Bit Server VM",
"vm_version" : "17.0.1+12-LTS-39",
"vm_vendor" : "Oracle Corporation",
"bundled_jdk" : true,
"using_bundled_jdk" : false,
I'm on ubuntu 18.04 and installed Elasticsearch with apt.
I don't understand which Java the Elasticsearch-plugin binary use.
Thank you in advance for your help