support compile with specified jdk version