|
Opera |
Opera is the only browser to work completely with both local and web based jnlp files. It has the best
CSS (Cascading Style Sheets) style sheet support. It is faster than the others, so I recommend it. However, I fully understand it
is easier to convince someone to switch wives than browsers. On the other paw I have begged the Opera
browser people to make this setup automatic, but they have flatly refused. Here is how you teach Opera to
hand off *.jnlp files it finds to Java Web Start, javaws.exe. :
- Click Tools ⇒ Preferences ⇒ Advanced ⇒ Downloads.
- Check to see if an association for jnlp is already there.
- If there is no entry, Click new.
- If there is one already, select it and Click edit.
- The MIME type should read application/x-java-jnlp-file,
the file extension should read jnlp
and open with default application should be selected.
- Click OK ⇒ OK.
Opera has a bug and sometimes setting up the association still won’t make JWS work. To fix it, shut
down Opera, and manually edit the opera6.ini file. Remove the two lines
containing the string jnlp, i.e.
Then fire up Opera again and try running a Java Web Start app. Tell the dialog to launch with
javaws.exe. It will repair opera6.ini to look
something |
 |
Firefox |
Firefox does not seem to have a way of configuring associations other than selecting download rather
than run for a small built-in set. Nevertheless it partly works, at least for jnlp files out on the web. It
does not work for ones on local hard disk. It seems to bungle along with Windows associations and MIME type
hints from webservers. Firefox will ask you what to do with an extension it has never seen before on
download. This gives you an indirect way to set up an automatic association. |
 |
SeaMonkey |
SeaMonkey does not seem to have a way of configuring associations other than selecting download rather
than run for a small built-in set. Nevertheless it partly works, at least for jnlp files out on the web. It
does not work for ones on local hard disk. It seems to bungle along with Windows associations and MIME type
hints from webservers. SeaMonkey will ask you what to do with an extension it has never seen before on
download. This gives you an indirect way to set up an automatic association. |
 |
IE (Internet Explorer) 7 |
To set up the association between *.jnlp files and javaws.exe in Windows which also handles IE:
- In Windows, not IE, Click Start ⇒ Settings ⇒ Control Panel ⇒ Folder Options ⇒
File Types.
- Check to see if there is already an association for *.jnlp files.
- If there is no entry for *.jnlp files already then Click new ⇒
advanced ⇒ select "jnlp file"
- If there is an entry, select it and Click advanced.
- Then edit the open application used to perform action field and make sure
it is set to "C:\Program Files\java\jre7
\bin\javaws.exe" "%1".
- Uncheck DDE.
- Click OK.
- Click Set As Default to make Open the default action. Likely Open will be the only action.
- Click OK ⇒ Close.
Even after all this is done, IE will only half work. It will work with JNLP files loaded off the web, but
not ones from local hard disk. This is because webservers provide a MIME type to give IE an extra hint,
where the Windows file system provides no MIME types. Techies might want to look at the associations configuration in the registry. |
 |
IE 6 |
To set up the association between *.jnlp files and javaws.exe in Windows which also handles IE:
- In Windows, not IE, Click Start ⇒ Settings ⇒ Control Panel ⇒ Folder Options ⇒
File Types.
- Check to see if there is already an association for *.jnlp files.
- If there is no entry for *.jnlp files already then Click new ⇒
advanced ⇒ select "jnlp file"
- If there is an entry, select it and Click advanced.
- Then edit the open application used to perform action field and make sure
it is set to "C:\Program Files\java\jre7
\bin\javaws.exe" "%1".
- Uncheck DDE.
- Click OK.
- Click Set As Default to make Open the default action. Likely Open will be the only action.
- Click OK ⇒ Close.
Even after all this is done, IE will only half work. It will work with JNLP files loaded off the web, but
not ones from local hard disk. This is because webservers provide a MIME type to give IE an extra hint,
where the Windows file system provides no MIME types. Techies might want to look at the associations configuration in the registry. |
 |
Safari |
Safari does not have its own MIME/extension settings. It uses whatever is configured in the Windows associations.
When you launch a JNLP file from local hard disk, for some idiotic reason, Safari displays the contents of the directory
where the JNLP file lives. Just hit enter to get on with the launch. |