[英]How can I run a .jar program directly from /bin?
Whenever I need to open the logisim-evolution.jar file, I need to type the command:每当我需要打开 logisim-evolution.jar 文件时,我都需要输入以下命令:
java -jar logisim-evolution.jar
I would like to add an entry for that program in /bin to be able to open it through the dmenu.我想在 /bin 中为该程序添加一个条目,以便能够通过 dmenu 打开它。 How can I do that?我怎样才能做到这一点?
You're better off making a .sh launcher that runs java -jar logisim-evolution.jar
and put it in /bin您最好制作一个运行java -jar logisim-evolution.jar
的 .sh 启动器并将其放入 /bin
@Federico klez Culloca @Federico klez Culloca
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.