Support switching jdk type and jdk version by user app