# Logstash not starting with the error "error: jvm options parser failed; exiting"

**URL:** <https://discuss.elastic.co/t/logstash-not-starting-with-the-error-error-jvm-options-parser-failed-exiting/274393>\
**Category:** Logstash\
**Created:** [May 29, 2021, 8:23am UTC](https://discuss.elastic.co/t/logstash-not-starting-with-the-error-error-jvm-options-parser-failed-exiting/274393 "2021-05-29T08:23:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Swaroop\_S](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/swaroop_s/32/79183_2.png) [@Swaroop\_S](https://discuss.elastic.co/u/Swaroop_S)\
**Post date:** [May 29, 2021, 8:23am UTC](https://discuss.elastic.co/t/logstash-not-starting-with-the-error-error-jvm-options-parser-failed-exiting/274393/1 "2021-05-29T08:23:06Z")

</div>

Hi All,

I downloaded the logstash file and created the config file and I am trying to start the logstash with the command "logstash -f simple-config.conf" after navigating to bin folder in logstash. But I am getting error " **error: jvm options parser failed; exiting**" while starting the logstash.

**Detailed error below** \*

Desktop\ELK\logstash-7.13.0\bin\>logstash -f simple-config.conf  
Using JAVA\_HOME defined java: C:\Program Files\Java\jdk1.8.0\_291  
WARNING, using JAVA\_HOME while Logstash distribution comes with a bundled JDK  
"error: jvm options parser failed; exiting"

**End of Error** \*\*\*

I have Java 8 installed in my laptop and JAVA\_HOME is already set with the latest JDK information.

Can anyone suggest what could be issue?

Thanks in Advance!!

---

<div class="post-metadata">

**Author:** ![mohamed\_el\_mannouti](https://avatars.discourse-cdn.com/v4/letter/m/c57346/32.png) [@mohamed\_el\_mannouti](https://discuss.elastic.co/u/mohamed_el_mannouti)\
**Post date:** [May 29, 2021, 8:44am UTC](https://discuss.elastic.co/t/logstash-not-starting-with-the-error-error-jvm-options-parser-failed-exiting/274393/2 "2021-05-29T08:44:51Z")

</div>

> [@Swaroop\_S](#):
>
> Desktop\ELK\logstash-7.13.0\bin\>logstash -f simple-config.conf

you can do this option for see all error:  
Desktop\ELK\logstash-7.13.0\bin\>logstash -f simple-config.conf -e

---

<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 26, 2021, 8:45am UTC](https://discuss.elastic.co/t/logstash-not-starting-with-the-error-error-jvm-options-parser-failed-exiting/274393/3 "2021-06-26T08:45:29Z")

</div>

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