JDK-8050838 : JRE Install Error in localized Windows 8.1 after join in AD domain
  • Type: Bug
  • Component: deploy
  • Affected Version: 7u55,8u5
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_8
  • CPU: x86
  • Submitted: 2014-07-16
  • Updated: 2015-06-30
  • Resolved: 2014-10-13
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 Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8 JDK 9
7u72Fixed 8u31Fixed 9Fixed
Related Reports
Relates :  
Description
FULL PRODUCT VERSION :
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b19)
Java HotSpot(TM) Client VM (build 24.65-b04, mixed mode, sharing)

ADDITIONAL OS VERSION INFORMATION :
Windows 8.1 Professional/Enterpise x32/x64

EXTRA RELEVANT SYSTEM CONFIGURATION :
Operating System language is localized (Russian, German ...)

A DESCRIPTION OF THE PROBLEM :
https://community.oracle.com/thread/3578474

Problem affected jre7u51-7u65/8u0-8u11

When system user language in not english (in my example Russian) and windows 8.1 join in Active Directory domain, jre install failed.
 
java_install_reg.log:
RegisterDeploy returned: 6
-- Exec: RegisterDeploy(TRUE, szJavaHome) failed.



REGRESSION.  Last worked in version 7u51

ADDITIONAL REGRESSION INFORMATION: 
java version "1.7.0_51"

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1.Install localized Windows 8.1, for example Russian
2. Join System in Acrive Directory Domain
3. Install JRE7u51/55/60/65 or JRE8/8u5/8u11



EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
JER success install
ACTUAL -
JRE install failed

ERROR MESSAGES/STACK TRACES THAT OCCUR :
java_install_reg.log:
...
-- Running RegisterDeploy(TRUE, szJavaHome) 
RegisterDeploy returned: 6
-- Exec: RegisterDeploy(TRUE, szJavaHome) failed.

REPRODUCIBILITY :
This bug can be reproduced always.

CUSTOMER SUBMITTED WORKAROUND :
Install English Lang Pack on Windows 8.1 and set English language to default for system user


Comments
According to Stephen: "regression (from JDK-8024903)", which was fixed in 8u5.
07-04-2015

SQE OK to take custome escalated bug fix to CPU15_01
24-11-2014

CPU15_01-critical-request justification: - Fix for Release : 8u31, 7u75 - Justification : Customer bug, Java SE Incident, regression (from JDK-8024903) - Risk Analysis : very low risk - Webrev : https://java.se.oracle.com/code/cru/CR-JDK8UCPU-163 - Webrev : https://java.se.oracle.com/code/cru/CR-JDK7UDEV-16 - Testing (done/to-be-done) : (Fix verification for 7u) Manually tested by customer - Back ports (done/to-be-done) : 8 9 already done - FX Impact : N/A
20-11-2014

abhijit : https://bugs.openjdk.java.net/browse/JDK-8024903
20-11-2014

Nakul is going to find out from Dev/Victor what led to this regression. I plan to put this into cReq shortly (we're working out the justification text at this time).
20-11-2014

Ok - now I can reproduce this problem. After disconnecting the network before installation it really fails with the error about relationship between workstation and the primary domain failed. It happens because java installer cannot find group ALL APPLICATION PACKAGES for localized versions, because the group name is localized, and the current implementation uses just string name for accessing to it, so this approach does not work for localizations. To fix it, we can use SID instead of string name.
09-10-2014

Steps to reproduce the problem as shared by a user: 1. If you have all that is known here, Norwegian/Russian/German or any other localized Windows 8/8.1 and joined to a domain. 2. Then download Java 7 Update 55 or any later version, exe or msi. 3.Then disconnect the network before installation. Then you will get this error every time.
06-10-2014

I was not able to reproduce it. Tried on Windows 8 Russian and Windows 8.1 German for 7u65/8u11. For all cases (log in under domain user account and launch .exe file; create group policy for installing jre (assign package) from .msi; install published package from distribution point) it installs without problems. Maybe this is a configuration problem. As I cannot reproduce it using the provided steps, I'm resolving it as Incomplete for now.
22-09-2014

Victor is more familiar with RegDeploy API, reassigning to Victor.
17-07-2014

This looks to be an issue in RegDeploy API.
16-07-2014