Side issue:
Also I had to change the line
set DEFAULT_JVM_OPTS="--module-path" "%APP_HOME%lib" "--module" "moduleName/MainClass"
to
set DEFAULT_JVM_OPTS="--module-path" "%APP_HOME%\\lib" "--module" "moduleName/MainClass"
I don't know why, it looks fine in chainsaw/src/main/java/com/zyxist/chainsaw/exec/CreateStartScriptsConfigurator.java
using 0.1.3 on windows
see https://github.com/gradle-guides/building-java-9-modules/issues/25
Side issue: Also I had to change the line
set DEFAULT_JVM_OPTS="--module-path" "%APP_HOME%lib" "--module" "moduleName/MainClass"
toset DEFAULT_JVM_OPTS="--module-path" "%APP_HOME%\\lib" "--module" "moduleName/MainClass"
I don't know why, it looks fine in chainsaw/src/main/java/com/zyxist/chainsaw/exec/CreateStartScriptsConfigurator.java