-
Notifications
You must be signed in to change notification settings - Fork 230
Description
Describe the bug
We are encountering a regression in the JavaFX application build process using Maven, FXLauncher, and Inno Setup. Specifically, we use the javapackager for creating the installer. This issue was previously addressed in here but appears to have resurfaced in later versions of Corretto 8. The errors encountered are:
Bundler Windows Application Image failed because of java.lang.RuntimeException: Not found MSVC dlls
Bundler EXE Installer failed because of java.lang.RuntimeException: Not found MSVC dlls
To Reproduce
Use the Javapackager for a JavaFX app. Used command:
javapackager -deploy -v -native -outdir target/jfx/native -outfile appName -srcdir target/jfx/app -appclass fxlauncher.HeadlessMainLauncher -name appName -title appTitle -vendor appVendor
Expected behavior
The installer should build successfully, similar to the behavior with Oracle JDK x64 (build 1.8.0_192-b12), Oracle JDK x86 (build 1.8.0_201-b09), and Azul ZuluFX x64 (build 1.8.0_192-b01).
Platform information
OS: Windows 11 (x64)
Corretto Versions Tested:
- 8.412.08.1 (16.04.24) fails
- 8.402.08.1 (19.01.24) fails
- 8.392.08.1 (17.10.23) fails
- 8.382.05.1 (18.07.23) fails
- 8.372.07.1 (19.04.23) works
Additional context:
Our application requires msvcr100.dll to be deployed. The issue appears to have re-emerged starting from version 8.382.05.1 of Corretto. The problem was initially fixed in release 8u202.2 as indicated in this previous ticket, but seems to have reoccurred in the latest versions.