I have a modular java application that I'm trying to launch via a desktop file in ~/.local/share/applications:
[Desktop Entry]
Type=Application
Name=Converter
Path=/home/craig/ca.footeware.converter
Exec=sh -c "/usr/bin/java -p swt.jar:ca.footeware.converter.jar:ca.footeware.converter.temperature.jar:ca.footeware.converter.length.jar -m ca.footeware.converter/ca.footeware.converter.Converter"
Icon=/home/craig/ca.footeware.converter/converter.svg
Terminal=false
Categories=Utility;
StartupWMClass=SWT
I can run gtk-launch ca.footeware.converter.desktop
and it works.
I can run the exec statement at cli (in the ~/ca.footeware.converter
folder) and it works.
But when I click the Converter shortcut in overview the application does not open. How do I troubleshoot this?