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
Same issue on Ubuntu 16.04 with oracle jdk 9 installed, I have also tried openjdk 1.9 and got the same error. But when I try other version jdk, I found that oracle jdk 8 and openjdk 1.8 are both ok.
So just check out what version of java you're using, maybe you can install or switch to other version of jdk by:
update-alternatives --display java
update-alternatives --config java
java -version