Skip to content

Commit 9596ebc

Browse files
committed
Update Packager.java
1 parent 919b785 commit 9596ebc

File tree

1 file changed

+3
-3
lines changed
  • src/main/java/io/github/fvarrui/javapackager/packagers

1 file changed

+3
-3
lines changed

src/main/java/io/github/fvarrui/javapackager/packagers/Packager.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,9 @@ protected void bundleJre(File destinationFolder, File jarFile, File libsFolder,
252252
Logger.info("Creating customized JRE ...");
253253

254254
// fixes the path to the JDK on MacOS
255-
if (platform.equals(Platform.mac) && !platform.isCurrentPlatform()) {
256-
jdkPath = new File(jdkPath, "Contents/Home");
257-
}
255+
// if (platform.equals(Platform.mac) && !platform.isCurrentPlatform()) {
256+
// jdkPath = new File(jdkPath, "Contents/Home");
257+
// }
258258

259259
// tests if specified JDK is for the same platform than target platform
260260
if (!JDKUtils.isValidJDK(platform, jdkPath)) {

0 commit comments

Comments
 (0)