EE-3356, MULE-7248: Supported JDKs are not properly defined. Fixed supported and recommended JDKs. Fixed and added tests accordingly.

(cherry picked from commit dc86bd3909e2a00927d39e8e66278df3b987ee62)