add mac jdk location check