Issue with BROWSE on Java

Hello. I’m using Manjaro with KDE plasma and I try to run a Java program that runs in a web browser.

Here’s the program: https://github.com/thewca/tnoodle/releases/download/v1.2.2/TNoodle-WCA-1.2.2.jar

But there seems to be an issue with “BROWSE”. Here’s the output when I run the jar file:

Detected os: Linux
needsReExecing: false
Unable to get tray image size. Using fallback: 24
Successfully loaded
Please disable tooltips, as they are not consistent across all platforms and tray types.
TNoodle-WCA-1.2.2 started
Autoreload is disabled because the development mode is off.
Application started in 0.454 seconds.
Responding at http://0.0.0.0:2014
Sorry, it appears the Desktop api is supported on your platform, but the BROWSE action is not.

I see the program in the taskbar but it won’t open the browser. I also tried using an AUR package of the program and same problem.

There is a log file that gets created when I run the program. Here is its content:

2024-08-29 17:42:46,470 INFO [main] o.w.t.d.j.s.MainLauncher [MainLauncher.kt:43] Detected os: Linux
2024-08-29 17:42:46,474 INFO [main] o.w.t.d.j.s.MainLauncher [MainLauncher.kt:49] needsReExecing: false
2024-08-29 17:42:46,940 WARN [main] d.j.l.GtkTheme [GtkTheme.java:467] Unable to get tray image size. Using fallback: 24
2024-08-29 17:42:47,079 INFO [main] d.s.SystemTray [SystemTray.java:813] Successfully loaded
2024-08-29 17:42:47,085 WARN [main] d.s.SystemTray [MenuItem.java:465] Please disable tooltips, as they are not consistent across all platforms and tray types.
2024-08-29 17:42:47,116 INFO [main] o.w.t.d.j.WebscramblesServer [WebscramblesServer.kt:81] TNoodle-WCA-1.2.2 started
2024-08-29 17:42:47,225 INFO [main] Application [ApplicationEngineEnvironmentReloading.kt:161] Autoreload is disabled because the development mode is off.
2024-08-29 17:42:47,647 INFO [main] Application [BaseApplicationEngine.kt:65] Application started in 0.454 seconds.
2024-08-29 17:42:47,775 INFO [DefaultDispatcher-worker-1] Application [BaseApplicationEngine.kt:77] Responding at http://0.0.0.0:2014
2024-08-29 17:42:48,230 ERROR [main] o.w.t.d.j.s.OfflineJarUtils [OfflineJarUtils.kt:32] Sorry, it appears the Desktop api is supported on your platform, but the BROWSE action is not.
2024-08-29 17:44:52,492 ERROR [SystemTrayEventDispatch-1] o.w.t.d.j.s.OfflineJarUtils [OfflineJarUtils.kt:32] Sorry, it appears the Desktop api is supported on your platform, but the BROWSE action is not.
2024-08-29 17:44:55,849 INFO [SystemTrayEventDispatch-1] o.w.t.d.j.s.OfflineJarUtils [OfflineJarUtils.kt:57] Exit initiated from tray icon

I tried using both chrome and firefox as default browsers. The same issue happened. Can someone help me make this work?

Very strange.
Same error in Manjaro Plasma VM

In Manjaro Xfce4 (also a VM) I can’t even successfully launch Firefox - it always crashes instantly

In Mint Xfce4 (my host system) - it all works. :man_shrugging:

It also works in Manjaro Cinnamon - Firefox starts as it should - and the java program works as well.

You need gvfs

https://wiki.archlinux.org/title/Java#Java_applications_cannot_open_external_links

1 Like

And what happens if you manually open a browser and visit http://0.0.0.0:2014 ?

I installed gvfs and it’s fixed now

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.