Ubuntu & JNLP

I wanted to see if I could run WeatherTap   http://www.weathertap.com/ on a Linux machine. It appears that it is designed to run on Windows but it is Java based so it should be portable. My home PC is running Ubuntu 10.4 LTS 64bit.  AMD64 is the magic in this story.

When I try to launch the radar image it gives to a XYZ.jnlp file which is supposed to open up in the Java Web Start engine. My 64bit machine did not know how to handle this file extension and when I tried to manually launch the Java Web Start engine it returned an error.

After a bunch of searching I found some helpful hints at:
http://dmartin.org/weblog/running-java-web-start-apps-ubuntu-linux-amd-64

Steps:
    $ sudo apt-get install ia32-sun-java6-bin

    $ sudo gedit /usr/bin/javaws

I commented all with # at the beginning of each line and added at the end:

    /usr/lib/jvm/ia32-java-6-sun/bin/javaws $1

Save the file and then launch Firefox and you should now be prompted for what to use to open the jnlp file. Choice the proper Java option from the menu and you should be in business.