JDK-6761964 : JDK files tools.jar, jsse.jar, resources.jar, and rt.jar get deleted on reboot
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 6u10
  • Priority: P3
  • Status: Closed
  • Resolution: Won't Fix
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2008-10-21
  • Updated: 2013-10-07
  • Resolved: 2013-10-07
Related Reports
Relates :  
Relates :  
Description
While trying to duplicate 6760413, I found the equivalent of the JRE bug 6681922 with the JDK.
1. Installed 6u10 b25 JDK.
2. Made some files in use by installing Glassfish and starting it's server
Installed glassfish-installer-v2ur2-b04-windows.jar:
(https://glassfish.dev.java.net/downloads/v2-b58g.html)
   - set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_10
   % java -Xmx256m -jar filename.jar
   % cd glassfish
   % lib\ant\bin\ant -f setup.xml 
(https://glassfish.dev.java.net/downloads/quickstart/index.html#ProcedureTo_Start_the_GlassFish_server)
   - Add the install-dir/bin/ directory to the PATH environment variable.
   - Start the server by entering this command: asadmin start-domain domain1
3. Ran install for 6u10 b32 JDK.
4. At the Reinstall prompt, clicked Yes.
5. At the first reboot request, click NO to delay it.
Installation of 6u10 b32 JDK continues.
Another reboot request is displayed.
When you reboot, the files that are in use and in HKLM\SYSTEM\CurrentControlSet\Control\Session Manager, PendingFileRenameOperations are deleted:
C:\Program Files\Java\jdk1.6.0_10\lib\tools.jar
C:\Program Files\Java\jdk1.6.0_10\jre\lib\jsse.jar
C:\Program Files\Java\jdk1.6.0_10\jre\lib\resources.jar
C:\Program Files\Java\jdk1.6.0_10\jre\lib\rt.jar

Comments
This bug is 5 years old, and the flow is now N/A for JDK8.
07-10-2013