Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KDE/Linux : BROWSE action not supported (Java error) #385

Open
bidinou opened this issue Aug 23, 2023 · 2 comments
Open

KDE/Linux : BROWSE action not supported (Java error) #385

bidinou opened this issue Aug 23, 2023 · 2 comments

Comments

@bidinou
Copy link

bidinou commented Aug 23, 2023

Hi ! The default browser is not automatically started on Linux (KDE Neon, based on Ubuntu LTS). I get the usual following error from the Java runtime environment : "java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform!"

Apparently, it's due to the problematic Java desktop integration. I could read quite a few testimonies about it, for instance here : https://stackoverflow.com/questions/18004150/desktop-api-is-not-supported-on-the-current-platform

It's not such an issue to manually open the browser but it might give the feeling that the app doesn't work :-) A work-around would be to invoke xdg-open instead from Linux platforms it seems.

Thanks so much for your work & take care !

JRE : from 11 to 17
KDE Neon based on Ubuntu 22.04

@marian-m12l
Copy link
Owner

Thanks for the feedback. If you find a way, I'd happily merge a PR. But as you pointed, this is a minor issue.

@lokifacio
Copy link

Hi!

I had the same issue with another software. It seems that Java relies on gnome to open external links on linux.
I fixed it installing gvfs as reported here: https://wiki.archlinux.org/title/Java#Java_applications_cannot_open_external_links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants