Install a JDK
Tweak the sbt part of the script and add comments