I followed the instruction and a create a wrapper for myapp.jar and generated myapp.exe. The myapp.exe works ok as far as I can see. I created a file myapp.j4l.ini in the same directory as myapp.exe and added -Dfile.encoding=UTF-8. I added some code in myapp.exe to display both System.getProperty("file.encoding") and System.getEnv(). Both calls fails on finding the file.encoding. As if the myapp.j4l.ini is not being used at all. I'm running this on WinXP SP2 with JRESE1.6. Anyone knows what I'm doing wrong?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I followed the instruction and a create a wrapper for myapp.jar and generated myapp.exe. The myapp.exe works ok as far as I can see. I created a file myapp.j4l.ini in the same directory as myapp.exe and added -Dfile.encoding=UTF-8. I added some code in myapp.exe to display both System.getProperty("file.encoding") and System.getEnv(). Both calls fails on finding the file.encoding. As if the myapp.j4l.ini is not being used at all. I'm running this on WinXP SP2 with JRESE1.6. Anyone knows what I'm doing wrong?