Designer Launcher Install script failure

Hello, I was trying to use the install.sh script to install the designer launcher when I ran into this error:

Installing Designer Launcher Desktop Shortcut with 'xdg-desktop-icon install'
./install.sh: line 78: update-desktop-database: command not found

I downloaded the designerlauncher.tar.gz from my local install, which is the one released Dec 14. A quick peek into the script and it seems like it's missing that function. If there are no plans for another release just to fix this, may I have the missing function? Thank you.

That's usually an executable provided by your distro. What distro/version is this?

(In my Kubuntu install, it is supplied by the desktop-file-utils package.)

Hi Phil,

Thanks for the heads up, that was exactly the problem. After installation succeeds, I tried to run the launcher script and get the following error in my designerlauncher.log:

INFO [CompositeClassRejectListFilter] [2024/12/18 09:43:07]: Initialization performed successfully
INFO [CompositeClassRejectListFilter] [2024/12/18 09:43:07]: JVM-wide ObjectInputFilter set up successfully
INFO [CompositeClassRejectListFilter] [2024/12/18 09:43:07]: Platform serialFilter has 88 pattern(s)
INFO [DesignerLauncher ] [2024/12/18 09:43:07]: Set initial logging level to INFO
ERROR [RuntimeException ] [2024/12/18 09:43:07]: Uncaught exception in thread: main
java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: no glassgtk3 in java.library.path: /usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib
at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:300)
at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:293)
at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:163)
at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:659)
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:679)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:196)
at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.lang.UnsatisfiedLinkError: no glassgtk3 in java.library.path: /usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2434)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:818)
at java.base/java.lang.System.loadLibrary(System.java:2006)
at com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:166)
at com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:54)
at com.sun.glass.ui.gtk.GtkApplication.lambda$new$6(GtkApplication.java:195)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
at com.sun.glass.ui.gtk.GtkApplication.(GtkApplication.java:179)
at com.sun.glass.ui.gtk.GtkPlatformFactory.createApplication(GtkPlatformFactory.java:41)
at com.sun.glass.ui.Application.run(Application.java:146)
at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:290)
... 6 more

I will say that I'm running 8.3EA and this designer launcher in my Ubuntu WSL2 container, so that might be causing some issues, but I've installed and launched a 7.8 designer instance in the past like this without incident. I installed the libgtk-3-dev package, but no dice.

I don't think we have any expectation that any of our GUI applications (the launchers, which are JavaFX or the designer/client, which are Swing) will work in the very weird, pseudo headless environment that is WSL2. You might be able to get something working, but you're blazing your own trail.

Oy! Run away! Run away!

Fair enough. Thank you both for your responses.

Where's the WSL2 love. That's how I snuck Linux on the workstation into my Windows-centric former employer.

And find it handy here too.

No sneaking for me. :smile:

All of my company computers run Linux on bare metal. Windows for specific tasks is only run in VMs.

Nice.

My home infrastructure is Linux.