I hate Java - Easy way to associate .jnlp files with Java Web Start
It seems that every time I push out a Java Update that some computers have difficulty with Java apps specifically Java Web Start Applications. It seems that .jnlp files are not getting associated with Java Web Start even though I am using the silent installation commands to associate it with IE and Mozilla so either I am missing something on my install or something else is wrong. Of course that doesn't explain why some machines are fine after the Java update and others are not.
I use Dell KACE 1000 for this distribution using the following install:
"jre-7u9-windows-i586.exe" /s /v"/norestart AUTOUPDATECHECK=0 JAVAUPDATE=0 JU=0 IEXPLORE=1 MOZILLA=1"
Any assistance or guidance on how I can force .jnlp files to Java Web Start for all users would be appreciated. I searched the registry of a machine that worked and found all sorts of keys mostly in classes_root and local machine related to .jnlp but have no idea which ones are the important ones.
Answers (1)
use the assoc command to view/set the file associations
http://support.microsoft.com/kb/184082
http://support.microsoft.com/kb/323526
here are the registry keys for the file association.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.jnlp]
@="JNLPFile"
"Content Type"="application/x-java-jnlp-file"
[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/x-java-jnlp-file]
"Extension"=".jnlp"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.jnlp]
@="JNLPFile"
"Content Type"="application/x-java-jnlp-file"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\MIME\Database\Content Type\application/x-java-jnlp-file]
"Extension"=".jnlp"
Comments:
-
Thanks! This took care of an association problem I was having. - GeekSoldier 11 years ago