Fix for JENKINS-16204

List JDKs even if there is only one, to ensure a value is always set.
Merge pull request #11 from hrabbouh/master

Fix for JENKINS-16204