Error While Installing Elastic search plugins

Installing the ICU analysis 7.3.1. for Elastic Search 7.3.1 unfortunately I am getting a java error

.C:\Program Files\Elastic\Elasticsearch\7.3.1\bin>elasticsearch-plugin.bat instal
l path\
-> Downloading path\
Exception in thread "main" unknown protocol: c
at java.base/
at java.base/
at java.base/
at org.elasticsearch.plugins.InstallPluginCommand.downloadZip(InstallPlu
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginC
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginC
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwar
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(
at org.elasticsearch.cli.MultiCommand.execute(
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(
at org.elasticsearch.cli.Command.main(
at org.elasticsearch.plugins.PluginCli.main(

please do not put screenshots in here, and properly format your code snippets. This forums supports markdown, please make use of it. Thanks!

You have to specify a URL when installing a plugin. If the plugin is stored locally already, you can use file:// as a prefix. That said, running elasticsearch-plugin install analysis-icu should work out of the box, if you have an internet connection.

HI Alexander,
I passed the following commands to install the plugin:

  1. elasticsearch-plugin.bat install file:\\C:\Users\myuser\Documents\
  2. elasticsearch-plugin.bat install file://C:\Users\myuser\Documents\
  3. elasticsearch-plugin.bat install file://C:/Users/myuser/Documents/

For all of the above commands, I got the following error:

Exception in thread "main" C at java.base/


This works, now I know I was passing the wrong path and using the file:/// in wrong manner

Unfortunately with the correct path, now I am getting an error from the

I executed the following command:
elasticsearch-plugin.bat install file:///C:/mypath/

It gave me the following error:

Downloading file:///C:/mypath/
[=================================================] 100%
Exception in thread "main" java.nio.file.NoSuchFileException: C:\Program Files\E

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