When starting up ./bin/start-micro-quickstart on a mac without java8 setup properly, the error message is cryptic

I didn’t have $JAVA_HOME set. The start script gave the following error.“sh: - : invalid option”. bin/java-util returned something like “-n bin” and the wrapper script got confused.

This should be fixed by https://github.com/apache/druid/pull/9376, which will be in 0.18.0. If you don’t want to update the script, you can try setting the DRUID_SKIP_JAVA_SKIP environment variable as a workaround.