File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JNLP and Web Start and the fly likes Problem changing JNLP file association 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 "Problem changing JNLP file association" Watch "Problem changing JNLP file association" New topic

Problem changing JNLP file association

Ashik Uzzaman
Ranch Hand

Joined: Jul 05, 2001
Posts: 2373

I installed SUN JRE 1.5 Update 7 in a fresh Windows XP machine and found the registry recongizes the JNLP file extension is associatied with it. Then I installed an application that downloads IBM WebSphere Application Client 6 which actually uses IBM JRE 1.4.2 . After this installation IBM JRE changes the .jnlp file association from Sun JRE 1.5.0_07 to its own 1.4.2 version.

Now I needed to change the JNLP file association back to previous one. I used Windows Explorer->Tool->Folder Options->File Types->Advanced->Edit and did that. However, I see my registry didn't change the association from IBM JRE to Sun JRE. But when I look at Java Control Panel, it says its associated with Sun JRE. Here is a windows shell script that I run to see the current JNLP file assocaition - which alwasy tells me its OBM JRE which is associated with the JNLP file extension. I tried restarting the machine, removing the cached copy from Java Control Panel without any difference.

Can you tell me when this file type association may not work and why? Is there any Windows Security Patch issue here? Also what are the registry keys that I should look for (a few are mentioned in the script below)?

Ashik Uzzaman
Senior Software Engineer, TubeMogul, Emeryville, CA, USA.
I agree. Here's the link:
subject: Problem changing JNLP file association
It's not a secret anymore!