jdk auto detection