Add the async client to the startup script.
Allow setting the java version to use via the "JAVA_HOME" environment variable. Fixes #252.