I don't see how this can be in the Java stack, if it works on LTS but doesn't on later releases. Also, using the "dbus-launch" command solves the issue. I have not been able to make a smaller release yet.
I have read of other people with a similar issue: https://askubuntu.com/questions/1184774/some-applications-on- ubuntu-19-10-very-slow-to-start -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to gtk+2.0 in Ubuntu. https://bugs.launchpad.net/bugs/1853894 Title: Strange Hang with old SWT Apps Status in gtk+2.0 package in Ubuntu: Incomplete Bug description: I have a weird issue where an old app of mine which is written in Eclipse RCP using SWT. It is an older Eclipse 3.x version. I am running uptodate Ubuntu 19.10, on Ubuntu 18.4 LTS everything works fine. When i start the app after compiling it using the latest Eclipse edition, then when i start the app, first i needed to install libgtk2.0-0. Which i found out using ldd. The app then doesn't start for quite a while. I can't see any errors ore warnings anywhere. Maybe someone can point me in the right area? Anyhow, searching the web i did find a solution: Either i start the app as root, or using the following command: dbus-launch --exit-with-session java -jar MyApp.jar But both are not very helpful as i can't start the app like this from Eclipse to allow for debugging and modifying. And starting as root isn't optimal either. Has anyone got any idea on how i can fix this, or is this perhaps some kind of bug? ProblemType: Bug DistroRelease: Ubuntu 19.10 Package: libgtk2.0-0 2.24.32-4ubuntu1 ProcVersionSignature: Ubuntu 5.3.0-23.25-generic 5.3.7 Uname: Linux 5.3.0-23-generic x86_64 ApportVersion: 2.20.11-0ubuntu8.2 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Mon Nov 25 20:34:58 2019 InstallationDate: Installed on 2019-11-25 (0 days ago) InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017) SourcePackage: gtk+2.0 UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/1853894/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp