LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Firefox refuses to load Java jnlp files - plugin and java ok (http://www.linuxquestions.org/questions/linux-software-2/firefox-refuses-to-load-java-jnlp-files-plugin-and-java-ok-457585/)

Melsync 06-23-2006 10:19 AM

Firefox refuses to load Java jnlp files - plugin and java ok
 
When opening Java Web Start files in Firefox I a pop up window:
Opening draw.jnlp
You have chosen to open draw.jnlp which is a Java Network Launched Application
from http://java.sun.com
What should Firefox do with this file?
* Open it with Mozilla Web Browser (default)
* Save to disk
* Do this automatically for files like this from now on.

but the 'Mozilla...' option does nothing.

$ which javaws
/usr/java/jdk1.5.0_07/bin/javaws

/etc/mailcap contains:

# Java Web Start
application/x-java-jnlp-file; /usr/java/jdk1.5.0_07/jre/bin/javaws %s

Both $ /usr/java/jdk1.5.0_07/bin/javaws and $ /usr/java/jdk1.5.0_07/jre/bin/javaws do launch the Java Application Cache Viewer window and the applications work.

The Java plugin works and the test applet at http://www.java.com/en/download/help/testvm.xml displays information about your operating system, the JVM and the Java Runtime Environment (JRE).
Fedora Core 4, jdk1.5.0_07, Firefox/1.0.8

robbbert 06-25-2006 04:09 PM

Using Ubuntu / GNOME, I would right-click some (dummy) JNLP file, select "Open With", and select that javaws file (which is pre-selected, in my case).

Not sure if this helps, though.


All times are GMT -5. The time now is 11:48 AM.