Since it was announced that ELK stack has support of Java 11 since 6.5.0 release I thought that I could start it on openjdk11. When starting I can see in the logs the following error:
Dec 10 17:18:28 mgt-wazuh-02 logstash[26570]: Unrecognized VM option 'UseParNewGC'
Dec 10 17:18:28 mgt-wazuh-02 logstash[26570]: Error: Could not create the Java Virtual Machine.
Dec 10 17:18:28 mgt-wazuh-02 logstash[26570]: Error: A fatal exception has occurred. Program will exit.
Any way I can make it happen? Note elasticsearch started up without any issues
I was looking at the 6.5.0 annoucement where they posted support for java 11 for elasticsearch therefore I assumed that logstash is also suporting Java 11 since in lots of the cases elasticsearch would be sharing hosts with logstash therefore they would both need to run on the same java installation.
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.