最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Launching modular java application in GNOME - Stack Overflow

programmeradmin0浏览0评论

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?

发布评论

评论列表(0)

  1. 暂无评论