Java webstart from Konqueror incorrectly uses -viewer option

Bug #213897 reported by Michael
4
Affects Status Importance Assigned to Milestone
openjdk-6 (Ubuntu)
New
Undecided
Unassigned

Bug Description

When I try to open "http://java.sun.com/products/javawebstart/apps/notepad.jnlp" in konqueror, the command line invoked is

kioexec /usr/lib/jvm/java-6-openjdk/bin/javaws -viewer http://java.sun.com/products/javawebstart/apps/notepad.jnlp

which brings up a certificates viewer window. If the "-viewer" argument is dropped, the command line is correct.

Revision history for this message
Rui Boon (ruiboon) wrote :

This should not be a bug of openjdk. Its doc specifically mentioned that the -viewer parameter is to "show the cache viewer in the java control panel". This should not be the intended result. Will take a look at the mechanism for loading the java applications in konqueror soon

Revision history for this message
Rui Boon (ruiboon) wrote :

I was wrong to conclude that it wasnt a bug of openjdk.
In the source package of the openjdk6, the viewer option is already there

./JB-jre.mime.in:application/x-java-jnlp-file; /@basedir@/jre/javaws/javaws -viewer %s

Would removing it solve the issue?

Not sure if this is a mere coincidence, this occurrence of the extra viewer option is also found in the the sun package.
From /usr/lib/mime/packages/sun-java6-bin
"application/x-java-jnlp-file; /usr/lib/jvm/java-6-sun-1.6.0.05/jre/javaws/javaws -viewer %s"

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.