We tried to implement i18n in our application which is wrapped with Launch4j. There we got stucked with an issue related to the locale. Our custom set locale is always replaced with the jvm default locale at runtime. After doing some online research we tried to configure Launch4j to use a jre defined by an absolute path. Unfortunately without success. If we start our application with "java -jar application.exe" everythings working well.
Any suggestions are appreciated.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Do you mean that you were not successful with using a JRE defined by an absolute path or did it work but has not solved the locale problem? How do you set this custom locale, in the application itself or by setting the system properties when running it?
Grzegorz
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We tried to implement i18n in our application which is wrapped with Launch4j. There we got stucked with an issue related to the locale. Our custom set locale is always replaced with the jvm default locale at runtime. After doing some online research we tried to configure Launch4j to use a jre defined by an absolute path. Unfortunately without success. If we start our application with "java -jar application.exe" everythings working well.
Any suggestions are appreciated.
Do you mean that you were not successful with using a JRE defined by an absolute path or did it work but has not solved the locale problem? How do you set this custom locale, in the application itself or by setting the system properties when running it?
Grzegorz
We solved the problem in the meantime. The mistake was the locale object which was not initialzed propely.
Thanks
Ralf