Code Yarns ‍👨‍💻
Tech BlogPersonal Blog


How to install JAR file in Ubuntu

📅 2015-Dec-01 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ ubuntu ⬩ 📚 Archive

Java programs are commonly distributed online as Jar files. This is a file with a .jar extension.

Running a JAR file is straightforward:

[code lang=text] $ java -jar foo.jar ```

But what if I want to have this program appear in my Dash, like other programs? Here is how I usually solve this:

Do note that the tilde symbol does not work, you will need to provide the full path.

Tried with: Alacarte 3.10.0 and Ubuntu 14.04


© 2026 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘 Mastodon🦋 Bluesky📧 Email