Sdk (RunProfile profile) { if (profile instanceof ConfigurationWithAlternativeJre appConfig && appConfig.isAlternativeJrePathEnabled()) { String path = appConfig.getAlternativeJrePath(); return path == null ? null : ProjectJdkTable.getInstance().findJdk(path); } return null; }