[TIMOB-11869] [TIMOB-11267] Bug fixes. Added JDK detection lib.