Problems with IAS Viewer / .jnlp files?
Do you use the IAS Viewer to view our JPEG2000 (JP2) image files at full-resolution (which we highly recommend!)? If you use a Mac running OSX, you might be having trouble. Don’t worry, there’s a solution!
It appears that a recent Java patch causes problems launching the IAS Viewer client and other Java-based software launched via Java Web Start. The update changed the location of the Java Web Start application so that the system opens the downloaded JNLP file as a text file, most likely with something called Dashcode. One of our system administrators found a solution on an Apple support discussion archive. You should only have to do this once to fix the problem:
- Find any *.jnlp file in the Finder. These may be on your Desktop, or in a download folder, depending on how your web browser is configured.
- Highlight the file by clicking on it, then select ‘Get Info’ from the File menu.
- In the Open with: section, click on the popup menu and select ‘Other…’.
- In the file chooser window that pops up, under Devices, pick the hard disk icon that corresponds to the name of your system hard disk (probably has the same name as your computer).
- From there, select the System folder, then Library, then CoreServices, and scroll down to find the Java Web Start application, select it and click the ‘Add’ button. (Note, the location of Java Web Start application may differ on your system.)
- Back in the Get Info window, click the button that says change all to apply this change to all of your JNLP files, then close the Get Info window.
When something tries to open a .jnlp file now, it should be properly handled by Java Web Start, launching the corresponding application.
Thanks to one of our twitter followers, @doug_ellison, for pointing out that many of you are having this problem!
Please note, we offer this for informative purposes, and you should make changes at your own discretion.


July 10th, 2009 at 11:33 am
I am also having problems using IAS Viewer on Windows XP. When I open a quicklook JP2, IAS Viewer launches but returns the following error … Any suggestions? Thanks – Edwin.
java.net.MalformedURLException: unknown protocol: socket
at java.net.URL.(Unknown Source)
at java.net.URL.(Unknown Source)
at java.net.URL.(Unknown Source)
at java.net.URI.toURL(Unknown Source)
at com.sun.deploy.net.proxy.DeployProxySelector.connectFailed(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doGetRequestEX(Unknown Source)
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCachedFile(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getUpdatedFile(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getUpdatedFile(Unknown Source)
at com.sun.deploy.ui.ImageLoader$DelayedImageLoader.run(Unknown Source)
July 10th, 2009 at 3:00 pm
Hi Edwin,
You could try un-installing and then installing the latest version of Java. Good luck!
July 10th, 2009 at 3:20 pm
Edwin, our web master pointed me to this page as well – hope this helps!
http://hirise.lpl.arizona.edu/notae/iasclient-jan-09.php
September 5th, 2009 at 2:48 pm
I was also having problems with OS X Snow Leopard and IAS (”Missing .DLL files’). Switching from a 64- to 32-bit JVM in the Java preferences pane fixed this.