I'm trying to use logstash in Windows 10 but I am stuck at this error:
PS C:\logstash-7.9.3\bin> .\logstash -e 'input {stdin{}} output {stdout{}}'
Unrecognized VM option 'UseConcMarkSweepGC'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
PS C:\logstash-7.9.3\bin> Write-Host $env:JAVA_HOME
C:\jdk-15.0.1
PS C:\logstash-7.9.3\bin> java -version
java version "1.8.0_271"
Java(TM) SE Runtime Environment (build 1.8.0_271-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.271-b09, mixed mode)
Isn't this something that should be included in the Logstash download page?
Right now it only says "Java 8 is required for Logstash 6.x and 5.x. " saying nothing for Logstash 7.x and the installation steps also make no mention of Java requirements.
Can I even run two JDK in one computer? ElasticSearch comes with JDK 15 provided in the .zip file, but Logstash, part of the ELK stack, does noot work with JDK 15?
Should I ignore the JDK in ElasticSearch and install ...what?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.