Cleanup is_jdk_dir

Been busy just recently, will should have some time to start writing again :)