fix can't recognize the JDK version error