Customer reported that when running jpackage create-installer on linux (without --installer-type option) an exception is raised due to missing "dpkg-deb" tool, and jpackage returned error code 255.
In these cases jpackage tries to build all available installer types for which supported(boolean isRuntimeInstaller) is true.
The problem is caused by LinuxDebBundler.supported() returning true on any linux platform.
LinuxDebBundler.supported() should return false if not on Debian Linux.
In these cases jpackage tries to build all available installer types for which supported(boolean isRuntimeInstaller) is true.
The problem is caused by LinuxDebBundler.supported() returning true on any linux platform.
LinuxDebBundler.supported() should return false if not on Debian Linux.
- duplicates
-
JDK-8225428 CLI change to remove "mode", rename to "package", and build only one target
- Resolved