title: Apache Kafka 2.12-1.1.0 not working with JDK -10.0.1
body: <p>Why doesn't Apache Kafka 2.12-1.1.0 work with JDK 10.0.1?</p>
  
  <pre><code>./bin/zookeeper-server-start.sh config/zookeeper.properties 
  java version "10.0.1" 2018-04-17
  Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)
  Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)
  /..../kafka_2.12-1.1.0/bin/kafka-run-class.sh: line 252: [[: 10 2018-04-17: syntax error in expression (error token is "2018-04-17")
  [0.000s][warning][gc] -Xloggc is deprecated. Will use -Xlog:gc:/..../kafka_2.12-1.1.0/bin/../logs/zookeeper-gc.log instead.
  Unrecognized VM option 'PrintGCDateStamps'
  Error: Could not create the Java Virtual Machine.
  Error: A fatal exception has occurred. Program will exit.
  </code></pre>