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

this method will blow up with thrown exception.
this needs to guaranteed to not fail.