Overview
jDeploy 5.4.3 improves overall stability, refines error handling in the installer, and fixes several bugs related to JBR downloads, concurrent releases, and installer availability.
Bug Fixes
JBR Installer Downloads Correct JRE
Fixed an issue where the installer would download a standard JRE instead of JBR when jdkVariant=jbr was specified.
Problem: Previously, the installer downloaded its own JRE, and then the application would download JBR on first launch, resulting in unnecessary downloads and delayed first-run experience.
Solution: The installer now correctly downloads JBR when specified, eliminating the need for an additional JRE download on first application launch.
Concurrent GitHub Release Protection
Fixed possible corruption in the package-info.json file when multiple GitHub workflows perform releases simultaneously.
Problem: The source of truth for GitHub releases was the package-info.json file in the "jdeploy" release on GitHub. When two GitHub workflows attempted to update this file at the same time, it could become corrupted.
Solution: The release process now uses an optimistic lock. If two processes attempt to update simultaneously, the second one will fail gracefully, causing its workflow to fail rather than corrupting the file.
Improved Installer Availability
Fixed occasional install failures caused by the package-info.json file being temporarily unavailable during the publishing process.
Problem: When performing publishing, the jdeploy release’s package-info.json file gets deleted and replaced, making it technically unavailable for a split second between the delete and upload steps. If an installer was launched at that instant, it would fail with an error.
Solution: The installer now includes fallback URLs to query if the primary package-info.json is unavailable. This eliminates this class of error entirely.
Enhanced Installer Branding
The installer now displays the application’s splash screen and custom icon in its progress dialog instead of the generic jDeploy icon.
What Changed: The installer progress dialog now shows:
-
Application’s custom splash screen (if configured)
-
Application’s custom icon
-
Branded installation experience matching the application’s identity
This provides a more professional and consistent user experience during installation.
Improved Error Messages
Error messages in the jDeploy installer have been improved to be more specific and helpful.
Problem: Previously, error messages were generic and unhelpful, referring only to "the Installer" without identifying which application was being installed.
Solution: Error messages now:
-
Include the application name
-
Provide clearer guidance on what went wrong
-
Use application-specific terminology instead of generic installer references
Migration Guide
Upgrading from 5.4.1
jDeploy 5.4.3 is backward compatible with 5.4.1 and earlier versions. No changes are required for existing applications.
Applications using JBR will benefit immediately from the improved installer behavior without any configuration changes.
Resources
-
Official Website: https://www.jdeploy.com/
-
Download: https://github.com/shannah/jdeploy-desktop-gui/releases/latest
-
Documentation: https://www.jdeploy.com/docs/manual/
-
GitHub Repository: https://github.com/shannah/jdeploy
-
Support: GitHub Issues and Discussions