I have just installed jre7 and I'm surprised to see that my default locale is now en_US. With jre6 it was de_CH.
What is different with jre7? Is the default locale no more the one of the Operating System? (btw, I'm using Windows7)
Thx for your answer.
Edit:
I have seen the Locale for Category.FORMAT is the "old" one (de_CH). The Locale for Category.DISPLAY takes the language from the language of the OS (in Windows this is done in Control Panel > Region and Language > Keyboard and Languages > Display Language) and the contry from...?
What seems to be different is the property "user.country". With Java6 I get "CH" and with Java7 I get "US".
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…