Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression: MSVC DLLs not found when using Javapackager with Corretto 8 versions after 8.372.07.1 #507

Open
alxmtzr opened this issue Jun 5, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@alxmtzr
Copy link

alxmtzr commented Jun 5, 2024

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.

@alxmtzr alxmtzr added the bug Something isn't working label Jun 5, 2024
@WithEnoughCoffee
Copy link
Contributor

We are looking into this thank you for the information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants