working jdk on mac