# How to change the path of Jruby jar files in Logstash

**URL:** <https://discuss.elastic.co/t/how-to-change-the-path-of-jruby-jar-files-in-logstash/330909>\
**Category:** Logstash\
**Created:** [April 27, 2023, 7:17am UTC](https://discuss.elastic.co/t/how-to-change-the-path-of-jruby-jar-files-in-logstash/330909 "2023-04-27T07:17:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sriteja\_chebrolu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sriteja_chebrolu/32/116088_2.png) [@sriteja\_chebrolu](https://discuss.elastic.co/u/sriteja_chebrolu)\
**Post date:** [April 27, 2023, 7:17am UTC](https://discuss.elastic.co/t/how-to-change-the-path-of-jruby-jar-files-in-logstash/330909/1 "2023-04-27T07:17:20Z")

</div>

Large number of Jruby jar files are generating in Windows temp folder that filling up the C drive space.  
I want to change the path of those Jruby jar files.  
Can anyone please help me on this.

---

<div class="post-metadata">

**Author:** ![sriteja\_chebrolu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sriteja_chebrolu/32/116088_2.png) [@sriteja\_chebrolu](https://discuss.elastic.co/u/sriteja_chebrolu)\
**Post date:** [May 4, 2023, 6:30am UTC](https://discuss.elastic.co/t/how-to-change-the-path-of-jruby-jar-files-in-logstash/330909/2 "2023-05-04T06:30:32Z")

</div>

Solution: Have to set "-Djava.io.tmpdir" property with the required path in jvm.options file

---

<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:** [June 1, 2023, 6:31am UTC](https://discuss.elastic.co/t/how-to-change-the-path-of-jruby-jar-files-in-logstash/330909/3 "2023-06-01T06:31:19Z")

</div>

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