Install jdk if requested