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 **
"
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 **