JDK-4895647 : Tiger: Inserting double char into jre/jdk path fails the installation
  • Type: Bug
  • Status: Closed
  • Resolution: Duplicate
  • Component: install
  • Sub-Component: install
  • Priority: P4
  • Affected Version: 5.0
  • OS: generic
  • CPU: generic
  • Submit Date: 2003-07-24
  • Updated Date: 2016-07-28
  • Resolved Date: 2013-06-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availabitlity Release.

To download the current JDK release, click here.
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Relates :  
We documented this bug in 1.4.2_01.  I reopening this as a place holder to fix for Tiger/Tiger+.

To reproduce:

1. On any of the windows 2000, XP, or 2003 install language pack for languages such as Chinese, Japanese, and Korean if it does not come with the OS.

2. Install JDK/JRE 1.4.2_01 or 1.5.0.
3. And choose to customize the installation path.

4. Modify the installation path and insert a double bytes char.
5. At the point when installer is creating jar file the installer will fail and pop up the error dialog with error code 1722. 

Note: The tested OS is in English and after installing language pack, the lcoal/regional setting can stays English or to the specific locale used in the path. 

Duplicate CR covers use case and fix.

WORK AROUND Do not use any multibyte charaters in the directory into which you are trying to install the JRE/JDK or set the locale correctly in the Control Panel->Regional Settings and Set the default locale. Refer to this URL for further information, it is documented at the very end. http://java.sun.com/j2se/1.4.2/install-windows.html

EVALUATION Committing to mustang ###@###.### 2003-09-17 Investigating the bug, ie. to make the java installer and other sub-components install into a directory which contains multi-byte/wide characters AND if the default locale is english (for example). The fix is very complicated and this configuration cannot be supported. There are several sub-components (zipper, unpack, unzip) and the vm, and other utilities which needs to be unicodified. This is a very large effort for very little gain, ie. there is no reason why anyone should use multi-byte characters in the path-name when the locale is set to english or something else. For the record: To clarify this issue needs to be addressed for a future release as an RFE when the VM can work when User_Locale != System_Locale, AND we decide to drop the Win98, WinME systems. Until then its way too complex to fix the installer subcomponents, especially the zipper and unzip, and possibly Regutils. ###@###.### 2004-08-03 By popular demand (namely the I18N team) I am re-opening this bug, the problem here is that its very cumbersome to deal with Win98 and WinME. Its entirely possible that these platforms may not be supported for mustang, and if the I18N team will fix the vm issues then its worthwhile to fix this bug. ###@###.### 2004-08-04