This site is currently read-only as we are migrating to Oracle Forums for an improved community experience. You will not be able to initiate activity until January 31st, when you will be able to use this site as normal.

    Forum Stats

  • 3,890,899 Users
  • 2,269,649 Discussions


JNLP extension and associations

3346449 Member Posts: 1
edited Nov 24, 2016 9:19PM in Java 8 Questions

First of all apologies for the potential for dumbassery in this question. I am totally new to the JRE and am struggling with one particular aspect...

A legacy system is currently running on JRE6u43 but the system admin wants to upgrade to JRE8u66 which in theory is no problem. I've worked out how uninstall the 6u43 and install 8u66 in a silent fashion and everything seemed ok.

The system is launched by clicking on and running a JNLP file. It looks, however, like when I uninstall the JRE6u43 all the file associations, settings and even the .JNLP extension is being deleted from the PC. The JRE8u66 installer then doesn't seem to recreate these associations and the extension. Therefore when you attempt to fire up the jnlp file it moans and asks for the associated application.

I can browse and select the javaws.exe file and tick the 'always use this program' option but I need to somehow include the associations and extension creation in my deployment script because, this manual selection will be beyond the ability of the end users.

Is my deduction that the JRE installer no longer creates the relevant extension(s) and associations or is this some kind of bug? I tried the latest JRE installer and it still fails to create them.

I tried setting the JNLP File/MIME Association to ALWAYS in the Java Control Panel > Advanced Settings. Is this setting supposed to somehow set the JNLP file extension and associations. All it seemed to do was add the line deployment.javaws.associations=ALWAYS in the file but does it didn't seem to do much else.

Do I need to now manually create the JNLP extension in Windows and then associate it with the javaws.exe program? Or am I missing something else?

If I do have to create the extension and associations is there any doc that shows how to do this?

Thanks for any help as it's driving me absolutely nuts...


  • eudriscabrera-JavaNet
    eudriscabrera-JavaNet Dominican RepublicMember Posts: 214 Bronze Badge
    edited Nov 24, 2016 9:19PM

    You must try to open the JNLP extension file with javaws (java web start). If you are running the application behind a proxy server/firewall, you must notice the following notes.

    Java Web Start software must be configured with the correct proxy settings in order to launch applications from outside your firewall. Java Web Start software will automatically try to detect the proxy settings from the default browser on your system (Internet Explorer or Netscape browsers on Microsoft Windows, and Netscape browsers on the Solaris Operating Environment and Linux). Java Web Start technology supports most web proxy auto-configuration scripts. It can detect proxy settings in almost all environments.

    For more information about javaws :