Skip to content
New issue

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

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

Already on GitHub? # to your account

Native image locale problem #490

Open
Hugolarson opened this issue Oct 3, 2023 · 1 comment
Open

Native image locale problem #490

Hugolarson opened this issue Oct 3, 2023 · 1 comment

Comments

@Hugolarson
Copy link

Hello,

Running the created native .exe throws this exception.

[Tue Oct 03 10:02:33 CEST 2023][INFO] [SUB] java.util.MissingResourceException: Can't find bundle for base name sun.util.resources.CurrencyNames, locale sv_SE
[Tue Oct 03 10:02:33 CEST 2023][INFO] [SUB] at java.base@17.0.6/sun.util.resources.Bundles.throwMissingResourceException(Bundles.java:302)
[Tue Oct 03 10:02:33 CEST 2023][INFO] [SUB] at java.base@17.0.6/sun.util.resources.Bundles.loadBundleOf(Bundles.java:147)
[Tue Oct 03 10:02:33 CEST 2023][INFO] [SUB] at java.base@17.0.6/sun.util.resources.Bundles.of(Bundles.java:106)
[Tue Oct 03 10:02:33 CEST 2023][INFO] [SUB] at java.base@17.0.6/sun.util.resources.LocaleData$1.run(LocaleData.java:186)

@Khithar
Copy link

Khithar commented Apr 16, 2024

<nativeImageArgs>
   ...
   <arg>-Duser.language=sv</arg>
   <arg>-H:IncludeLocales=sv,en</arg>
    ...
</nativeImageArgs>

and of course do an agentrun

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants