# Facing issues when using java plugin with logstash 7.3.2

**URL:** https://discuss.elastic.co/t/facing-issues-when-using-java-plugin-with-logstash-7-3-2/202609
**Category:** Logstash
**Created:** [October 8, 2019, 4:15am UTC](https://discuss.elastic.co/t/facing-issues-when-using-java-plugin-with-logstash-7-3-2/202609 "2019-10-08T04:15:12Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![buch11](https://avatars.discourse-cdn.com/v4/letter/b/9de0a6/32.png) [@buch11](https://discuss.elastic.co/u/buch11)
#### Post date: [October 8, 2019, 4:15am UTC](https://discuss.elastic.co/t/facing-issues-when-using-java-plugin-with-logstash-7-3-2/202609/1 "2019-10-08T04:15:13Z")

</div>

Hi All,

I am trying to write a java filter plugin - following the instructions at - [https://www.elastic.co/guide/en/logstash/current/java-filter-plugin.html](https://www.elastic.co/guide/en/logstash/current/java-filter-plugin.html)

I am able to compile and install it locally and able to create an offline pack as well using below command :

```
 bin/logstash-plugin prepare-offline-pack logstash-filter-java_filter_example

```

When I try to install this zip file using below command it fails

```
bin/logstash-plugin install file:///home/buch/logstash-offline-plugins-7.3.2.zip

```

-- (a few warnings)---  
Installing file: /home/buch/logstash-offline-plugins-7.3.2.zip  
ERROR: Something went wrong when installing file:///home/buch/logstash-offline-plugins-7.3.2.zip, message: Illformed requirement ["=java\_filter\_example"]

How do I get this fixed?

---

<div class="post-metadata">

### Author: ![buch11](https://avatars.discourse-cdn.com/v4/letter/b/9de0a6/32.png) [@buch11](https://discuss.elastic.co/u/buch11)
#### Post date: [October 9, 2019, 10:42pm UTC](https://discuss.elastic.co/t/facing-issues-when-using-java-plugin-with-logstash-7-3-2/202609/2 "2019-10-09T22:42:32Z")

</div>

any ideas?

---

<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: [November 6, 2019, 10:42pm UTC](https://discuss.elastic.co/t/facing-issues-when-using-java-plugin-with-logstash-7-3-2/202609/3 "2019-11-06T22:42:39Z")

</div>

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