JDK-8162683 : Java fails to install for user account with special characters (Greek)
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 8u101
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_10
  • CPU: x86_64
  • Submitted: 2016-07-27
  • Updated: 2016-08-01
  • Resolved: 2016-07-28
Related Reports
Relates :  
Relates :  
Description
FULL PRODUCT VERSION :
none

ADDITIONAL OS VERSION INFORMATION :
Windows 10 Home Build 10586.

A DESCRIPTION OF THE PROBLEM :
Fresh installation of Windows 10 Home Build 10586. Trying to install java, file jdk-8u101-windows-x64.exe. After running the installer, as administrator, in the task manager appears for 2 seconds "Java Platform SE binary" and then it disappears with no error window appearing. Xamarin installer tried to install jdk-7u79-windows-i586.exe but was also unable returning "JDK installation exited with error code: 123".
The problem origin was the user account name that had special characters (greek) and this caused the problem. Creating a new user account with english characters solved the problem.

REGRESSION.  Last worked in version 8u101


REPRODUCIBILITY :
This bug can be reproduced always.


Comments
Java installer and Java AutoUpdate do not completely support UNICODE and this causes restrictions in using UNICODE symbols in username and installation directory path. Implementation of full UNICODE support is targeted to jdk10.
01-08-2016

Not a regression. The installer has always exhibited this issue.
01-08-2016

This is duplicate of JDK-8134029
28-07-2016

Issue discussed over stackoverflow - http://stackoverflow.com/questions/38531993/unable-to-install-java-on-windows-10
28-07-2016

To reproduce, in Windows 10 Professional (64-bit), Created a username in greek :��������������������" as an administrator. jdk-8u101-windows-x64.exe Keep Task Manager opened. Click on executable, and nothing happened appeared even after waiting for a long time. Java Platform Binary process appeared for brief 5-6 seconds in Task Manager and then disappeared. Attached is the jusched log file. This scenario is reproducible with both earlier JDK version 8u91 as well current version 8u101. Not sure, if this is an expected behaviour but an error or warning message is desirable. According to install docs, "It is possible to name directories using characters that are not part of the system locale's code page. If such a directory is part of the installation path, then generic error 1722 occurs, and installation is not completed. Error 1722 is a Windows Installer error code. It indicates that the installation process has failed. The exact reason for this error is not known at this time. To prevent this problem, ensure that the user and system locales are identical, and that the installation path contains only characters that are part of the system locale's code page. User and system locales can be set in the Regional Options or Regional Settings control panel." Ref: https://docs.oracle.com/javase/8/docs/technotes/guides/install/windows_jdk_install.html#CHDEABAE Error code 123 is a system code error where the filename, directory name or volume label syntax is incorrect.
28-07-2016