You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After I packaged the project into a deb package, the installation was unable to execute the program. It seems to be due to permission issues. I think the program can ignore permissions and run. What should I do? I currently want to try to solve this problem by customizing the rules file. What should I do?
Sorry for the long silence. The GNU/Linux startup script has been rewritten for the upcoming 2.0.0 (argument quoting, appArgs, classpath and other fixes), so this may be solved already.
Could you try 2.0.0-SNAPSHOT (how to use it: see the README in devel; note the new io.github.javapackager groupId) and, if the app still doesn't start after installing the DEB, run it from a terminal (/opt/<YourApp>/<YourApp>) and paste the output here, together with your plugin configuration?
I'll close this issue if there's no reply in a few weeks; you can reopen it anytime.
Activity
lhDream commentedon Feb 21, 2024
你想怎样自定义?
可以修改模板文件来实现自定义,对应的 模板文件,放到自己项目的 ${assetsDir} 目录下
fvarrui commentedon Feb 25, 2024
Hi @fubb-github!
Does @lhDream advice help you?
fvarrui commentedon Feb 27, 2024
@fubb-github ... could you define rules?
fubb-github commentedon Mar 4, 2024
After I packaged the project into a deb package, the installation was unable to execute the program. It seems to be due to permission issues. I think the program can ignore permissions and run. What should I do? I currently want to try to solve this problem by customizing the rules file. What should I do?
fubb-github commentedon Mar 4, 2024
我将项目打包成deb包后,安装无法执行程序,似乎是因为权限问题,我想该程序可以无视权限,运行起来,该怎么做?我目前想通过自定义rules文件来尝试解决,该如何做呢?
lhDream commentedon Mar 4, 2024
@fubb-github 是安装程序无法执行,还是安装后程序无法执行
fubb-github commentedon Mar 4, 2024
安装后,启动无法应
lhDream commentedon Mar 4, 2024
@fubb-github 尝试使用root用户进行打包操作
fvarrui commentedon Jul 4, 2024
Did you build your app from Linux? Have you tried to run your app from command line in order to see what's the output?
fvarrui commentedon Jul 4, 2024
Anyway, you can try with the latest version: 1.7.6. maybe your issue is already solved.
fvarrui commentedon Sep 28, 2024
I'm closing this issue due to lack of activity. If you need more help, don't hesitate on reopen this issue.
fubb-github commentedon Oct 22, 2024
I am using version 1.7.6 for packaging, but I cannot start after installing the deb package
fvarrui commentedon Oct 4, 2026
Sorry for the long silence. The GNU/Linux startup script has been rewritten for the upcoming 2.0.0 (argument quoting,
appArgs,classpathand other fixes), so this may be solved already.Could you try
2.0.0-SNAPSHOT(how to use it: see the README indevel; note the newio.github.javapackagergroupId) and, if the app still doesn't start after installing the DEB, run it from a terminal (/opt/<YourApp>/<YourApp>) and paste the output here, together with your plugin configuration?I'll close this issue if there's no reply in a few weeks; you can reopen it anytime.
fvarrui commentedon Oct 4, 2026
Quick update:
2.0.0-rc1is now on Maven Central, so you can test the fix without the snapshots repository, just with the new coordinates:io.github.javapackager:javapackager:2.0.0-rc1classpath 'io.github.javapackager:javapackager:2.0.0-rc1'andapply plugin: 'io.github.javapackager'Release notes and upgrade guide: https://github.com/javapackager/JavaPackager/releases/tag/v2.0.0-rc1. Feedback before the final 2.0.0 release would be very welcome!