fix BUG erro when installing with no JDK available default path