JDK-8073106 : Some dlls(jp2ssv.dll, ssv.dll, dtplugin\npdeployJava1.dll) are not copied to JAVA_HOME/bin before the moment when RegisterDeployEx() is called by the installer
  • Type: Bug
  • Component: install
  • Affected Version: 8u25
  • Priority: P2
  • Status: Resolved
  • Resolution: Cannot Reproduce
  • OS: windows
  • Submitted: 2015-02-12
  • Updated: 2015-04-15
  • Resolved: 2015-04-15
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 8
8u60Resolved
Related Reports
Relates :  
Relates :  
Description
The link to JavaDeployReg.log from customers:
https://bugs.openjdk.java.net/secure/attachment/24867/JavaDeployReg07.log 
...
jp2ssv dll missing in D:\jdktest\bin
ssv dll missing in D:\jdktest\bin
SSVSetup FAIL
Register for elevation
update elevation policy for ssvagent OK
update elevation policy for jp2launcher OK
tell IE to refresh elevation policies after undate registry OK
RegisterforElevation OK
  isFileExist for [D:\jdktest\bin\dtplugin\npDeployJava1.dll] return FALSE (error code 5)
...

For some reason some dlls(jp2ssv.dll, ssv.dll, dtplugin\npdeployJava1.dll) are not copied to JAVA_HOME/bin before the moment when RegisterDeployEx() is called by the installer.
According to the provided log, the user reproduced it on 8u25, specified install directory as "D:\jdktest". I've tried to do the same, but on my system it works without any errors, the dlls are copied as expected(before RegisterDeployEx() is called by the installer).
In the deployment code, we just use _tstat() to check that file exists, and that code hasn't been modified for several years, so there should not be problems from deployment side. I think this needs to be investigated on installer side(at least to determine if there are cases when those dlls are not copied properly).
This issue can be related with JDK-8049056
 "Deployment .jar files are missing in JAVA_HOME\lib, when installer calls RegisterDeployEx() from deploy.dll"
Comments
There has only been one case of this reported and it was with an earlier internal build. Closing as not reproducible.
15-04-2015

From the matching jusched.log here: https://bugs.openjdk.java.net/secure/attachment/24868/jusched07.log it looks like the install is fine up until the RegisterDeploy call. No issues seen with bspatch.exe, or unpacking of the jar files. It's unclear why these specific ssv/npdeploy dll's are missing. If there were any issues with extracting/patching, then the pack commands wouldn't work either. We need to follow up with the customer on this one. I believe there is only one case of this issue.
13-02-2015