IBM User Guide for Java V7 on Windows > Run Java applications > The java and javaw commands
Globalization of the java command
The java and javaw launchers accept arguments and class names containing any character that is in the character set of the current locale. You can also specify any Unicode character in the class name and arguments by using Java™ escape sequences.
To do this, use the -Xargencoding command-line option.
- -Xargencoding
- Use argument encoding. To specify a Unicode character, use escape sequences in the form \u####, where # is a hexadecimal digit (0 to 9, A to F).
- -Xargencoding:utf8
- Use UTF8 encoding.
- -Xargencoding:latin
- Use ISO8859_1 encoding.
For example, to specify a class called HelloWorld using Unicode encoding for both capital letters, use this command:
java -Xargencoding '\u0048ello\u0057orld'The java and javaw commands provide translated messages. These messages differ based on the locale in which Java is running. The detailed error descriptions and other debug information that is returned by java is in English.
Parent: The java and javaw commands
Error 404 - Not Found Error 404 - Not Found
The document you are looking for may have been removed or re-named. Please contact the web site owner for further assistance.