String (@Nullable Sdk anyJdk) { if (anyJdk == null) { return null; } String jdkHomePath = PathUtil.getLocalPath(anyJdk.getHomeDirectory()); if (jdkHomePath != null) { jdkHomePath = jdkHomePath.replace('/', File.separatorChar); } return jdkHomePath; }