Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8204463

Upgrading JRE from 1.8.0_161 to 1.8.0_171 causes msvcr100.dll to be missing

XMLWordPrintable

    • x86_64
    • windows_10

      ADDITIONAL SYSTEM INFORMATION :
      Observed on Windows 8.1, Windows 10 and Windows Server 2k12
      JRE versions 1.8.0_161 and 1.8.0_171

      A DESCRIPTION OF THE PROBLEM :
      When upgrading between two specific versions of java, occasionally a file (msvcr100.dll) will be removed from the system instead of upgraded. The two java versions we can reproduce this with consistantly are 1.8.0_161 to 1.8.0_171. Rerunning the JRE installer will usually fix this problem.

      This is a bug that has appeared occasionally for years:
      https://matthiashoys.wordpress.com/2015/11/14/msvcr100-dll-error-launching-sql-developer-4-1-2-with-jdk-8-on-windows-7/
      https://stackoverflow.com/questions/22929702/oracle-sql-developer-msvcr100-dll-is-missing-from-your-computer/35275716
      https://stackoverflow.com/questions/19655852/java-msvcr100-dll-missing-error


      This is a bug caused by the ProductVersion property on the MSVCR100.dll _decreasing_ between 161 and 171
      see: https://msdn.microsoft.com/en-us/library/windows/desktop/aa370859(v=vs.85).aspx
      The JRE v1.8.0_161 includes a msvcr100.dll with a ProductVersion of 10.00.40219.325
      The JRE v1.8.0_171 includes a msvcr100.dll with a ProductVersion of 10.00.40219.1
      because the patch version decreased on this dll between .161 and .171, when the windows JRE/JDK installer is run it will mistakenly remove the "old" .dll, but will not install the new one.

      The long term fix to prevent this bug is to _not decrease_ the productVersion property on the msvcr100.dll that gets laid down across JRE/JDK versions.



      REGRESSION : Last worked in version 8u171

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Run the JRE v1.8.0_161 installer
      2. Run the JRE v1.8.0_171 installer as an upgrade
      3. attempt to run a java application through the upgraded JRE
      observe an error is thrown on application startup: The program cannot start because MSVCR100.dll is missing from your computer. Try reinstalling the program to fix this problem. (reinstalling usually fixes the problem)

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      After upgrading the java version, all files will be correctly installed, and java
      ACTUAL -
      missing files after upgrading a JRE version will

      CUSTOMER SUBMITTED WORKAROUND :
      Rerun the installer

      FREQUENCY : often


            pmangal Priyanka Mangal (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: