Name: gm110360 Date: 10/16/2003
FULL PRODUCT VERSION :
java version "1.4.2_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_01-b06)
Java HotSpot(TM) Client VM (build 1.4.2_01-b06, mixed mode)
FULL OS VERSION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
javaw fails to recognize system's default locale on Windows 2000/XP. (It can on Windows 98SE.)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Download http://prdownloads.sourceforge.net/vietpad/VietPad-1.0.9-Beta.zip
2. Unzip and copy font.properties.vi to j2re/lib directory
3. Change system's default locale via Regional Option in Control Panel from English (United States) to Vietnamese
4. Open a DOS console and navigate to VietPad's installation directory.
5. Execute the following command:
javaw -jar VietPad.jar
Or double-click on VietPad.jar file in Windows Explorer in lieu of Steps 4-5 to launch the application.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The program should launch with Vietnamese user interface.
ACTUAL -
The English user interface shows.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
http://prdownloads.sourceforge.net/vietpad/VietPad-1.0.9-Beta-src.zip
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Accompany the javaw command with locale switches:
javaw -Duser.language=vi -Duser.region=VN -jar VietPad.jar
Or use the java command instead:
java -jar VietPad.jar
correctly launches the program with Vietnamese user interface.
(Incident Review ID: 216009)
======================================================================