PC's JOGL Blog

Learning the Java JOGL OpenGL Bindings

Monday, July 17, 2006

JNLP Download Error

I came in to work this morning and decided to test my JNLP program. I was using Firefox to launch the application from my computer, which is behind a firewall and a proxy server, and web start was giving me "Download Error" message.
An error occurred while launching/
running the application.

Title: Simple Blending Example
Vendor: Peter Finch
Category: Download Error

Unable to load resource: http://www.homepla.net/webstart

I found this was due to my proxy settings in IE, which was not setup to go through the proxy server (testing reasons), so web start could not get through the firewall to the Internet and load the program. It appears that web start uses the IE internet connection settings to get to the Internet by default.

You can change this using "javaws". Start "javaws" and go to the "Edit", "Preferences" menu to get the "Java Control Panel" dialog. From there go to the "General" tab and select "Network Settings". You'll probably find "Use Browser Settings" checked by default, so just set it to "use proxy server" and enter the appropriate details. It will now be independent of your browser settings.


Post a Comment

<< Home