When using Safari on Windows 7 to load any page containing any Java applet, the following alert appears:
"Java is Unavailable or Not Installed. Do you want to go to a page where you can download java?"
This message is incorrect. These are developer machines with one or more instances of the Java JRE / JDK installed, including 1.7.x. Many alerts are accompanied by messages referencing a non-existent file path, similar to:
"The Java Runtime Environment cannot be loaded from
<C:\PROGRA~2\Oracle\JAVAFX~1.1RU\bin\server\jvm.dll>”
The following attempts to repair the situation have all failed:
Searching the internet reveals many users with similar problems, but no answers.
How can this be resolved?
While many complaints about this problem exist online, a Google search against "Safari Windows jvm.dll JAVAFX" finds this obscure thread on the Apple Forums.
Summarized, the problem is when Safari checks the Windows Registry for a particular value, it uses the first value it finds instead of the correct value.
regedit.exe
Computer
and select export
).HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in\
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Plug-in\
..\Java Plug-in\
, cross your fingers, and delete it...\Java Plug-in\
or parent subfolder ..\JavaSoft\
for invalid file paths. If you recently upgraded, a prior installation may have been invalidated, but the registry entries might not have been removed, and might have to be excised manually.NOTE: Regarding step 4, your data may be under a different location; check the comments below for the experiences of other users who have resolved this issue in a similar fashion. Please post any alternate Windows Registry paths below as a comment.
Appreciation goes to user Olivier2011 (Olivier Lefevre) of the Apple Support Community (see first link in this answer) for following up his own question with his solution. Oliver's historical record of the incident from MarkMail.