derby.ui.locale property


Set this property to a supported locale name when using one of the Derby tools, if you want another locale than the system default locale. The locale determines the localized display format for numbers, dates, times and timestamps, as well as the language of the messages from the Derby tools. Note that some pages in the Derby documentation guides refer to a "locale" as a "territory".



where derbyval is a supported locale name, in the form ll_CC, where ll is the two-letter language code, and CC is the two-letter country code; for example, ja_JP.


The following command specifies to run ij using the Japanese territory (derby.ui.locale=ja_JP) using Japanese Latin Kanji mixed encoding (codeset=Cp939):

java -Dderby.ui.locale=ja_JP -Dderby.ui.codeset=Cp939 
Language codes consist of a pair of lowercase letters that conform to ISO-639.
Table 1. Sample Language Codes
Language Code Description
de German
en English
es Spanish
ja Japanese

To see a full list of ISO-639 codes, go to

Country codes consist of two uppercase letters that conform to ISO-3166.
Table 1. Sample Country Codes
Country Code Description
DE Germany
US United States
ES Spain
MX Mexico
JP Japan

A copy of ISO-3166 can be found at

Related reference
ij.connection.connectionName property
ij.database property
ij.dataSource property
ij.driver property
ij.exceptionTrace property
ij.maximumDisplayWidth property
ij.outfile property
ij.password property
ij.protocol property
ij.protocol.protocolName property
ij.showErrorCode property
ij.showNoConnectionsAtStart property
ij.showNoCountForSelect property
ij.URLCheck property
ij.user property
derby.ui.codeset property