Kafka Unrecognized VM option 'PrintGCDateStamps'

前端 未结 7 1341
梦毁少年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:44

    @Mitchell Tracy, i know this is a bit older thread, just putting it out there my findings on the same issue i encountered if anyone's running into same issue.

    I had jdk-9 (Early Access) pointing in my $java_home, i got all kinds of errors per se, Unrecognized VM option 'PrintGCDateStamps', -loggc deprecreated, -cp requires a classpath specified, and so forth.

    Moved the jdk-9 out of the way from $java_home with a command (sudo mv jdk1.8.0.jdk ~/Documents) and restarted the terminal, It worked like a charm! I was able to fire up zookeeper-server-start and kafka. I hope this helps.

提交回复
热议问题