# Offline plugin install of Java plugin

**URL:** https://discuss.elastic.co/t/offline-plugin-install-of-java-plugin/192439
**Category:** Logstash
**Created:** [July 26, 2019, 12:42pm UTC](https://discuss.elastic.co/t/offline-plugin-install-of-java-plugin/192439 "2019-07-26T12:42:33Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Cory\_Huebner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cory_huebner/32/51015_2.png) [@Cory\_Huebner](https://discuss.elastic.co/u/Cory_Huebner)
#### Post date: [July 26, 2019, 12:42pm UTC](https://discuss.elastic.co/t/offline-plugin-install-of-java-plugin/192439/1 "2019-07-26T12:42:33Z")

</div>

I am attempting to install a custom output Logstash plugin on Logstash 7.2; the plugin is written in Java based on the instructions found [on this Logstash documentation page](https://www.elastic.co/guide/en/logstash/current/java-output-plugin.html).

I am attempting to deploy into a Logstash docker container using the [offline plugin install method](https://www.elastic.co/guide/en/logstash/current/offline-plugins.html). When I run the installation, everything appears to be successful:

```auto
[root@ca3715a22ecb logstash-core]# logstash-plugin install file:///co360/plugins/co360-plugins.zip
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.jruby.util.SecurityHelper to field java.lang.reflect.Field.modifiers
WARNING: Please consider reporting this to the maintainers of org.jruby.util.SecurityHelper
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Installing file: /co360/plugins/co360-plugins.zip
Install successful

```

However, when I start Logstash, I get this error:

```auto
[ERROR] 2019-07-26 12:36:36.185 [main] Logstash - java.lang.IllegalStateException: Logstash stopped processing because of an error: (LoadError) Java plugin 'logstash-output-notify_plugin' does not contain a single jar file with the plugin's name and version

```

In the above error, _logstash-output-notify\_plugin_ is the Java plugin I expected to be installed; however, it appears the Jar file can't be reconciled when installing from the offline .zip package. As another point of reference, I installed this same plugin directly from the created gem file and it is able to be used without issue. A few questions:

1. Is offline installation of Java Logstash plugins supported?
2. If so, is there something special I need to do to ensure .jar files are included in the offline install package?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [August 23, 2019, 12:42pm UTC](https://discuss.elastic.co/t/offline-plugin-install-of-java-plugin/192439/2 "2019-08-23T12:42:41Z")

</div>

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