Logstash java class error

Hi Gurus,

Its been crazy Easter days for me, I tried installing ELK and JDK 14. Elasticsearch is working fine however when I try to run logbash.bat I am getting below error

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 7.6\logstash-7.6.2\logstash-7.6.2\logstash-core\lib\jars\animal-sniffer-annotations-1.14.jar;C:\softwares\ELK
Caused by: java.lang.ClassNotFoundException: 7/6\logstash-7/6/2\logstash-7/6/2\logstash-core\lib\jars\animal-sniffer-annotations-1/14/jar;C:\softwares\ELK

I have put my CLASS PATH as
C:\Program Files\Java\jdk-14\lib*.jar

Java_Home as
C:\Program Files\Java\jdk-14

path as
C:\softwares\ELK 7.6\logstash-7.6.2\logstash-7.6.2\bin;
C:\Program Files\Java\jdk-14\bin;

Not sure, why I am getting error while runing logstash.bat..

can you please help me out ???

According to the official support matrix it looks like Elasticsearch currently only supports Java13 and Logstash is limited to Java11.

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