-
Bug
-
Resolution: Fixed
-
P1
-
9
-
b52
-
windows
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8081869 | emb-9 | Erik Joelsson | P1 | Resolved | Fixed | b52 |
This is reproducible with 9b50 PIT bundles:
https://scaaa575.us.oracle.com/test/workspaces/dev_dropbox/pit/1.9.0/b49/windows-i586/jre190.exe
https://scaaa575.us.oracle.com/test/workspaces/dev_dropbox/pit/1.9.0/b49/windows-i586/jre190-iftw.exe
https://scaaa575.us.oracle.com/test/workspaces/dev_dropbox/pit/1.9.0/b49/windows-amd64/jre190.exe
Found the following error in jusched.log:
ERROR: -- Exec: RegisterDeploy() failed.
ERROR: Install Error: 61014
Deployment code doesn't work during installation.
jusched.log:
....
TRACE: -- Calling RegisterDeploy().
[2015/02/02 17:05:50.864, installer.exe (PID: 4048, TID: 3660), RegInstallJRE.cpp:138 (InstallJRE)]
TRACE: RegisterDeploy returned: 2
INT RegisterDeploy(BOOL bInstallMode, LPCTSTR lpcszJavaHome, const InstallConfigData& configData) {
...
I looked at the "install" workspace, regdeploy.cpp:
RegisterDeploy().
....
_tcscat_s(deployModule, _countof(deployModule), _T("\\bin\\deploy.dll"));
HMODULE deployLibHandle = LoadLibrary(deployModule);
if (deployLibHandle == NULL) {
FreeLibrary(deployLibHandle);
FreeLibrary(msvcrLibHandle);
return (2);
}
...
}
the returned value is 2, so it looks like deploy.dll is not loaded by installer.
After installing Visual Studio on the machine the problem goes away, it means something is misconfigured about runtime, the installer code needs to be checked, maybe something is wrong about installer manifest or something else.
https://scaaa575.us.oracle.com/test/workspaces/dev_dropbox/pit/1.9.0/b49/windows-i586/jre190.exe
https://scaaa575.us.oracle.com/test/workspaces/dev_dropbox/pit/1.9.0/b49/windows-i586/jre190-iftw.exe
https://scaaa575.us.oracle.com/test/workspaces/dev_dropbox/pit/1.9.0/b49/windows-amd64/jre190.exe
Found the following error in jusched.log:
ERROR: -- Exec: RegisterDeploy() failed.
ERROR: Install Error: 61014
Deployment code doesn't work during installation.
jusched.log:
....
TRACE: -- Calling RegisterDeploy().
[2015/02/02 17:05:50.864, installer.exe (PID: 4048, TID: 3660), RegInstallJRE.cpp:138 (InstallJRE)]
TRACE: RegisterDeploy returned: 2
INT RegisterDeploy(BOOL bInstallMode, LPCTSTR lpcszJavaHome, const InstallConfigData& configData) {
...
I looked at the "install" workspace, regdeploy.cpp:
RegisterDeploy().
....
_tcscat_s(deployModule, _countof(deployModule), _T("\\bin\\deploy.dll"));
HMODULE deployLibHandle = LoadLibrary(deployModule);
if (deployLibHandle == NULL) {
FreeLibrary(deployLibHandle);
FreeLibrary(msvcrLibHandle);
return (2);
}
...
}
the returned value is 2, so it looks like deploy.dll is not loaded by installer.
After installing Visual Studio on the machine the problem goes away, it means something is misconfigured about runtime, the installer code needs to be checked, maybe something is wrong about installer manifest or something else.
- backported by
-
JDK-8081869 New dependency introduced by deploy.dll and awt.dll (msvcp100.dll)
-
- Resolved
-
- relates to
-
JDK-8042707 Source changes needed to build JDK 9 with Visual Studio 2013 (VS2013)
-
- Resolved
-
-
JDK-8065692 RegisterDeploy() having issues with 8u20+
-
- Resolved
-
-
JDK-8203790 MSVCP dependency introduced in awt.dll
-
- Closed
-