# Logstash error

**URL:** <https://discuss.elastic.co/t/logstash-error/253664>\
**Category:** Logstash\
**Created:** [October 29, 2020, 9:28am UTC](https://discuss.elastic.co/t/logstash-error/253664 "2020-10-29T09:28:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![punithjigali](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/punithjigali/32/77012_2.png) [@punithjigali](https://discuss.elastic.co/u/punithjigali)\
**Post date:** [October 29, 2020, 9:28am UTC](https://discuss.elastic.co/t/logstash-error/253664/1 "2020-10-29T09:28:50Z")

</div>

Hi team, I have installed jdk 15.  
I am getting this error when I run below command...

**C:\Elastic stack\logstash-7.9.3\logstash-7.9.3\bin\>logstash -f C:\Elastic stack\logstash.conf**

Unrecognized VM option 'UseConcMarkSweepGC'  
Error: Could not create the Java Virtual Machine.  
Error: A fatal exception has occurred. Program will exit.

Thanks...

---

<div class="post-metadata">

**Author:** ![BBQigniter](https://avatars.discourse-cdn.com/v4/letter/b/3da27b/32.png) [@BBQigniter](https://discuss.elastic.co/u/BBQigniter)\
**Post date:** [October 29, 2020, 9:54am UTC](https://discuss.elastic.co/t/logstash-error/253664/2 "2020-10-29T09:54:43Z")

</div>

looking at the release notes of logstash - it seems JDK15 is not yet supported ☹

[https://www.elastic.co/guide/en/logstash/current/logstash-7-9-2.html](https://www.elastic.co/guide/en/logstash/current/logstash-7-9-2.html) - stated here that they work on support

[https://www.elastic.co/guide/en/logstash/current/logstash-7-9-3.html](https://www.elastic.co/guide/en/logstash/current/logstash-7-9-3.html) - no mentioning that jdk15 is now supported

---

<div class="post-metadata">

**Author:** ![punithjigali](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/punithjigali/32/77012_2.png) [@punithjigali](https://discuss.elastic.co/u/punithjigali)\
**Post date:** [November 2, 2020, 9:05am UTC](https://discuss.elastic.co/t/logstash-error/253664/3 "2020-11-02T09:05:48Z")

</div>

when I use JDK 14 it throws an below error...

C:\Elastic stack\logstash-7.9.3\logstash-7.9.3\bin\>logstash -f logstash.conf  
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option UseConcMarkSweepGC; support was removed in 14.0  
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option CMSInitiatingOccupancyFraction; support was removed in 14.0  
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option UseCMSInitiatingOccupancyOnly; support was removed in 14.0  
Error: Could not find or load main class stack\logstash-7.9.3\logstash-7.9.3\logstash-core\lib\jars\animal-sniffer-annotations-1.14.jar;C:\Elastic  
Caused by: java.lang.ClassNotFoundException: stack\logstash-7/9/3\logstash-7/9/3\logstash-core\lib\jars\animal-sniffer-annotations-1/14/jar;C:\Elastic

---

<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 30, 2020, 9:05am UTC](https://discuss.elastic.co/t/logstash-error/253664/4 "2020-11-30T09:05:52Z")

</div>

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