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

Incorrect jdk function call is used in jre installer

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8
    • 8
    • install
    • None
    • b105
    • windows
    • Not verified

    Description

      jfrfileAssociation() function is called for both jre and JDK. This function returns logs the below messages and returns false if there is no JDK present. Instead it shouldn't get called at all for JRE install as JMC/jfr file association is a JDK only feature.
      "
      BEGIN RestoreJarfileAssociation
      END GetLatestJREOrJDK32or64BitHome()...
      END RestoreJarfileassociation()----
      BEGIN JfrfileAssociation

      GetLatestJREOrJDK32or64BitHome() ---- failed to open SOFTWARE\JavaSoft\Java Development Kit
      GetLatestJREOrJDK32or64BitHome() ---- failed to open SOFTWARE\JavaSoft\Java Development Kit
      GetLatestJREOrJDK32or64BitHome() ---- failed to open or
      No JDK co-bundled with JMC exists on the system
      END GetLatestJREOrJDK32or64BitHome()...
      GetLatestJREOrJDK32or64BitHome() ---- failed to open SOFTWARE\JavaSoft\Java Development Kit
      GetLatestJREOrJDK32or64BitHome() ---- failed to open SOFTWARE\JavaSoft\Java Development Kit
      GetLatestJREOrJDK32or64BitHome() ---- failed to open or
      ** End WINAPI InstallJava **
      ** Start WINAPI ClassDataSharing **

      Attachments

        Activity

          People

            avshastr Avani Shastri (Inactive)
            jqzuo Jennifer Zuo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: