Added .java-version for handling multiple java on a dev machine.

Google jenv for more information.
Add name of missing key in exception so we know what is going on.