Hi All,
I am trying to the following code in spark 10 to get the locale of the system. but every time it is showing me "en" as the locale even though i am explicitly setting the system locale as Japanese through following command :
export LC_ALL=ja_JP.UTF-8
export LANG=ja_JP.UTF-8
My Code :
public static void main(String[] args) {
Locale sysDefaultLocale = Locale.getDefault();
System.out.println("sysDefaultLocale : " + sysDefaultLocale);
}
Please reply .