Sdk (@NotNull String jdkName, @NotNull String home) { Sdk jdk = ProjectJdkTable.getInstance().createSdk(jdkName, this); SdkModificator sdkModificator = jdk.getSdkModificator(); sdkModificator.setHomePath(FileUtil.toSystemIndependentName(home)); sdkModificator.commitChanges(); return jdk; }