karakun / OpenWebStart

Run Web Start based applications after the release of Java 11
https://openwebstart.com
Other
417 stars 48 forks source link

[macOS] since 1.10.0 direct start of jnlp via web isn't working #586

Closed agido-malter closed 3 months ago

agido-malter commented 4 months ago

After update to 1.10.0 direct start of jnlp results in a download and exit.

macOS 14.5 CPU M2

Reproduce: in Terminal start with open -a 'OpenWebStart javaws.app' https://cherry.dcs.aber.ac.uk/3dexperiment/launch.jnlp It starts a download in my browser and exit

Old behavior in 1.9.0 Starts directly the Webstart call

All loggings are activated but no result is shown

AlBundy33 commented 4 months ago

If you have enabled the logging in OpenWebStart Settings you'll find the logs in ~/.config/icedtea-web/log 🤔

agido-jrieks commented 4 months ago

Yes, we tried that and there is nothing in there, there is not even a log file created when launched this way. The OpenWebStart logo appears shortly, then the JNLP file seems to be opened via the browser instead. The issue occurred on several different devices.

AlBundy33 commented 3 months ago

you're right

open -a "OpenWebStart javaws" https://docs.oracle.com/javase/tutorialJWS/samples/uiswing/AccessibleScrollDemoProject/AccessibleScrollDemo.jnlp

This opens the browser (chrome in my case) und downloads the file 🤔

Using the same command with the local file works as expected and start the app

open -a "OpenWebStart javaws" AccessibleScrollDemo.jnlp
valkor commented 3 months ago

We are experiencing same issue on Mac M2. The OpenWebStart logo appears shortly and then nothing happen - issue reported by several users after automatic upgrade. I didn't check if jnlp downloaded somewhere, but we have to force users to downgrade to 1.9.1

metalmolly commented 3 months ago

We are facing the same issue on both Intel and ARM MacBooks (macOS Sonoma 14.5). No logs are persisted in ~/.config/icedtea-web/log. Installation of 1.10.0 was done with the options 'Yes, update the existing installation' and 'For the current user only (default)'.

Note: During installation of OpenWebStart 1.9.1 a file associations screen is displayed. This is not the case while installing version 1.10.0

arctic-itl commented 3 months ago

We have the same problem, the OpenWebStart logo appears shortly and nothing happens. No logs are persisting in ~/.config/icedtea-web/log. Rollback to 1.9.1 resolves the problem.

sclassen commented 3 months ago

We will need more time to investigate this issue. Thanks for reporting

AndreasEhret commented 3 months ago

could you try the following: install/update to 1.10.0 and clear on ~/.cache/icedtea-web directory. Then try to restart and see if it starts again as expected. I had a similar behavior in the past (start with briefly appearing logo, nothing happens, no helpful log files) and it was because of a corrupt cache.json file in the jvm-cache directory.

agido-malter commented 3 months ago

could you try the following: install/update to 1.10.0 and clear on ~/.cache/icedtea-web directory. Then try to restart and see if it starts again as expected. I had a similar behavior in the past (start with briefly appearing logo, nothing happens, no helpful log files) and it was because of a corrupt cache.json file in the jvm-cache directory.

I tried like requested, no change in behavior

agido-malter commented 3 months ago

We will need more time to investigate this issue. Thanks for reporting

Could you provide a openwebstart@1.9.1 in hombrew, please? This prevents due to a brew upgrade a permanent upgrade to the broken version.

sclassen commented 3 months ago

Fixed with 1.10.1