# Getting logstash to run

**URL:** <https://discuss.elastic.co/t/getting-logstash-to-run/289673>\
**Category:** Logstash\
**Created:** [November 19, 2021, 10:01am UTC](https://discuss.elastic.co/t/getting-logstash-to-run/289673 "2021-11-19T10:01:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tractor\_boy](https://avatars.discourse-cdn.com/v4/letter/t/278dde/32.png) [@tractor\_boy](https://discuss.elastic.co/u/tractor_boy)\
**Post date:** [November 19, 2021, 10:01am UTC](https://discuss.elastic.co/t/getting-logstash-to-run/289673/1 "2021-11-19T10:01:28Z")

</div>

I have downloaded the 7.15 version on logstash and unzipped. Unfortunately the lack of an installer leaves the solution in a non working state.

My current - first - challenge is getting logstash to use the bundled jdk. I cannot change the java that is being used as that is required by other components, so need to set up logstash to run its own jdk. (Hopefully it runs a jre in production?)

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [November 19, 2021, 5:37pm UTC](https://discuss.elastic.co/t/getting-logstash-to-run/289673/2 "2021-11-19T17:37:15Z")

</div>

> [@tractor\_boy](#):
>
> so need to set up logstash to run its own jdk. (Hopefully it runs a jre in production?)

logstash comes bundled with a JDK, not a JRE. I have no idea why they would do that.

logstash will use the bundled JDK unless JAVA\_HOME is set in the environment. So you can `set JAVA_HOME=` before running logstash.bat

---

<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:** [December 17, 2021, 5:38pm UTC](https://discuss.elastic.co/t/getting-logstash-to-run/289673/3 "2021-12-17T17:38:01Z")

</div>

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