Kafka Unrecognized VM option 'PrintGCDateStamps'

前端 未结 7 1250
梦毁少年i
梦毁少年i 2021-02-02 12:12

I installed Kafka on a remote server, and when I tried to run

~/kafka/bin/zookeeper-server-start.sh ~/kafka/config/zookeeper.properties

And I r

7条回答
  •  盖世英雄少女心
    2021-02-02 12:57

    As of now, the Kafka's default package has errors with Java 9. The easiest solution is to roll back to java8.

    sudo add-apt-repository ppa:webupd8team/java
    sudo apt update; sudo apt install oracle-java8-installer
    sudo apt install oracle-java8-set-default
    

提交回复
热议问题