GeeCON Prague 2014*
The moose likes JNLP and Web Start and the fly likes Opening files with .jnlp extension in IE 9 (Windows 7) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Opening files with .jnlp extension in IE 9 (Windows 7)" Watch "Opening files with .jnlp extension in IE 9 (Windows 7)" New topic
Author

Opening files with .jnlp extension in IE 9 (Windows 7)

Ananth Vasudevan
Ranch Hand

Joined: Sep 30, 2010
Posts: 30
Internet Explorer 9 on Windows7 is not able to directly open and run a .jnlp file. It asks for the prompt "do you want to open or save xxx.jnlp from <host name>" every time and does not give an option to either Run the file or "remember to do this for this file extension always".

Firefox seems to work. First time it asks for a prompt to open and there is a check box which will allow us to configure the setting to always open by default.

We have a servlet that dynamically generates a JNLP and writes the contents to the response. We set the content type to "application/x-java-jnlp-file".
It works in IE7 and IE8. But doesn't work in IE 9. (Some recent updates to windows has caused IE 8 also not to work)

I verified that the file extension .jnlp is associated to "javaws". if the file is saved and double clicked, it launches the application.

Is there any setting in IE using which we could always run this MIME type instead of open/save prompt or is there anything that needs to be set in the JNLP Syntax?
 
GeeCON Prague 2014
 
subject: Opening files with .jnlp extension in IE 9 (Windows 7)