為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Firefox has no JNLP association how do I make one?

  • 4 回覆
  • 18 有這個問題
  • 11 次檢視
  • 最近回覆由 cor-el

more options

I have downloaded a JNLP file from http://phet.colorado.edu/en/simulations/category/physics for a physics class that I'm taking, but the file will not load or start in Firefox. Java Web Start has already been installed by the system administrator but there is no file association for, nor is there a "JNLP" file type listed in Firefox --> Tools --> Options --> Applications

How can this be fixed so that the "JNLP" file type is listed in Firefox --> Tools --> Options --> Applications?

If you can get me that far I can do the rest by making the file association to javaws.exe. Thanks.

I have downloaded a JNLP file from http://phet.colorado.edu/en/simulations/category/physics for a physics class that I'm taking, but the file will not load or start in Firefox. Java Web Start has already been installed by the system administrator but there is no file association for, nor is there a "JNLP" file type listed in Firefox --> Tools --> Options --> Applications How can this be fixed so that the "JNLP" file type is listed in Firefox --> Tools --> Options --> Applications? If you can get me that far I can do the rest by making the file association to javaws.exe. Thanks.

所有回覆 (4)

more options

Is the file supposed to open externally in Java Web Starter? The combination of choosing a program using the Browse button and checking the box to do that from now on should add a new preference for you. Otherwise, there isn't a straightforward way to do it (the format of records in mimeTypes.rdf doesn't seem well documented).

If the file is supposed to be handled by the Java plugin, I wonder whether the setting in the Java Control Panel (see attached) will make any difference?

more options

Note that these files are send as application/x-java-jnlp-file (Java Network Launched Application), so this MIME type needs to be registered to get the JavaWS (Java Web Starter) program offered as the default choice.

  • HKEY_CLASSES_ROOT\.jnlp
  • HKEY_CLASSES_ROOT\MIME\Database\Content Type
more options

Sorry I should have mentioned that I'm using Linux. Specifically: Kubuntu 12.04

Since this was a java problem, I thought it could be fixed within firefox.

jscher2000: When I try your suggestion I get no option to browse for a file to open it with, and the only option is IceTea Java Webstart. When I click on that I get the error message: /tmp/faraday_en.jnlp could not be opened, because an unknown error occurred. ...and this same error occurs no matter what jnlp file firefox is trying to open.

Cor-el: As I stated in this post I'm using Linux so there is no registry to edit, and as such your solution doesn't apply to my setup. There should be a configuration file someplace on Linux to do something similar but I'm not sure how or where to even begin looking or even what to search for in google to figure that out. So I'm basically stuck.

Thanks for the input. Any other Linux based solutions would be greatly appreciated.

more options

I'm on Linux as well and don't have a problem with the jnlp files.
I get a pop-up window (normal Firefox open with dialog) with JavaWS selected as the default application to handle this file.