Running Java Sources in a Specific Locale

Once you have set all your locales, internationalized the source code, and built your application, you can run a version of the application for a specific locale. You should create a new execution type that is configured to execute the program in the desired locale.

To run a locale-specific application:

  1. Choose Tools and choose Options from the main window.
  2. Expand Debugging and Executing and expand  Execution Types.
  3. Right-click the Execution Types node and choose New and choose External Executor. You can create a locale-specific execution based on any existing execution type except the internal executor.
  4. Enter a name for the new execution type.
  5. Select the execution type, click External Process, and click the ellipsis (...) button.
  6. In the Arguments field, enter the following switches and click OK:
  7. Select the desired Java sources in the Explorer. In the Properties window, click the Execution tab and set the Executor property to the new execution type.
  8. Run your application.
See also
Internationalizing Source Code
Adding and Removing Locales
Editing a Locale

Legal Notices