I'm trying to execute the following command after configuring external tool in IntelliJ but it fails with an exception
/usr/bin/ceylon war jsf.ceylon -p javax.servlet -p javax.servlet.servlet-api -R web --static-metamodel
Unable to determine Java version (java.version property missing, empty or has unexpected format: '9-internal'). Aborting.
The same runs fine with CLI.