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.
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 - stated here that they work on support
https://www.elastic.co/guide/en/logstash/current/logstash-7-9-3.html - no mentioning that jdk15 is now supported
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
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.