JBIDE-18457 - prefer closest java if strictly-compatible is not available