Skip to content

Commit 60ab7cd

Browse files
committed
Update Packager.java
1 parent 9596ebc commit 60ab7cd

File tree

1 file changed

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

1 file changed

+0
-5
lines changed

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -251,11 +251,6 @@ protected void bundleJre(File destinationFolder, File jarFile, File libsFolder,
251251

252252
Logger.info("Creating customized JRE ...");
253253

254-
// fixes the path to the JDK on MacOS
255-
// if (platform.equals(Platform.mac) && !platform.isCurrentPlatform()) {
256-
// jdkPath = new File(jdkPath, "Contents/Home");
257-
// }
258-
259254
// tests if specified JDK is for the same platform than target platform
260255
if (!JDKUtils.isValidJDK(platform, jdkPath)) {
261256
throw new Exception("Invalid JDK for platform '" + platform + "': " + jdkPath);

0 commit comments

Comments
 (0)