英文:
How can I run a .jar program directly from /bin?
问题
每当我需要打开logisim-evolution.jar文件时,我需要输入以下命令:
java -jar logisim-evolution.jar
我想在/bin目录中为该程序添加一个条目,以便可以通过dmenu打开它。我应该如何操作?
英文:
Whenever I need to open the logisim-evolution.jar file, I need to type the command:
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. How can I do that?
答案1
得分: 0
你最好制作一个.sh启动器,运行java -jar logisim-evolution.jar
,并将其放在/bin目录下。
英文:
You're better off making a .sh launcher that runs java -jar logisim-evolution.jar
and put it in /bin
@Federico klez Culloca
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论