Java - Locale

> Procedural Languages > Java

1 - About

By default, the JVM uses the current locale as defined by the OS.

3 - Configuration

To bypass this configuration, you can specify on the command line the locale to be used:

java -Duser.language=en -Duser.region=US MyApplication

Note that there are some bugs with this:

Advertising
lang/java/locale.txt · Last modified: 2017/02/12 21:05 by gerardnico