In order to run an internationalized Oracle Commerce Platform web site, you might have to set the Java Virtual Machine (JVM) locale. By default, the JVM locale is the locale of the platform where the JVM is installed. To override the default JVM locale, you must set the appropriate language and region (country) arguments in the server environment. You can do this by adding these arguments to the environment.sh file (UNIX) or environment.bat file (Windows).

For example, you can add the following line to an environment.bat file to change the JVM locale to French:

set JAVA_ARGS=-Duser.language=fr -Duser.region=FR %JAVA_ARGS%

Note: The JVM locale determines the Oracle Commerce Platform server locale, which is used for the resourceBundles that generate Oracle Commerce Platform server messages and log file messages.


Copyright © 1997, 2016 Oracle and/or its affiliates. All rights reserved. Legal Notices