Closed Bug 1756539 Opened 4 years ago Closed 4 years ago

Windows, Java Webstart: jnlp will not start JavaLauncher but wants to save file

Categories

(Firefox :: File Handling, defect)

Firefox 97
defect

Tracking

()

RESOLVED DUPLICATE of bug 1755368

People

(Reporter: h.huenteler, Unassigned)

Details

Attachments

(2 files)

Attached image save-file.png

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:97.0) Gecko/20100101 Firefox/97.0

Steps to reproduce:

I want to start an Java application from server with an jnlp-file.

Actual results:

Firefox wants to save the jnlp-file

Expected results:

the Java application should start.
It's an windows bug, not on Linux (here Ubuntu 16.04)

This bug first appears in Firefox 97.0 and also exists in Firefox 97.0.1
A downgrade to Firefox 96.0.3 repairs it, and the bug is gone.

Bug: "mimeTypes":{"application/x-java-jnlp-file":{"action":4,"extensions":["jnlp"]}, ...}

if we change ist to s.th. like:
"mimeTypes":{"application/x-java-jnlp-file":{"action":2,"extensions":["jnlp"],"handlers":[{"name":"jp2launcher.exe","path":"C:\Program Files\Java\jre1.8.0_202\bin\jp2launcher.exe"}]}

the java application starts ...

the user agent ist wrong, because i wrote this report on Linux and the bug appears on Windows

Attached image prefs.png

a link to such an Webstart as an example:
http://apps.xxx.de/clientstarter/jnlp?stage=t&installationvariant=releasejdk17-22-06-0&sso=true

What happens? Firefox wants to save the file jnlp. if i wants to start the file with an double click, nothing happens. if i rename the file to a-name.jnlp a double click will start Java on Windows ...

Component: Untriaged → File Handling
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE

This bug is a bit different because the file that is saved is not a *.jnlp-file but a file named jnlp.

No filename extension. And that is the real problem (Windows). The user has to download the file, rename the file and start it.

(In reply to Hardy from comment #5)

This bug is a bit different because the file that is saved is not a *.jnlp-file but a file named jnlp.

That part is bug 1754525. I can only dupe to 1 bug, but both parts of this issue are covered by that bug and bug 1755368.

No filename extension. And that is the real problem (Windows). The user has to download the file, rename the file and start it.

Well, the link in commen #2 doesn't work, not even if corrected using the screenshot you posted. If you can share a link that reproduces the issue in bug 1754525 that might help.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: