Code Yarns β€πŸ‘¨β€πŸ’»
Tech Blog ❖ Personal Blog

How to install JAR file in Ubuntu

πŸ“… 2015-Dec-01 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ alacarte, jar ⬩ πŸ“š 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


Β© 2022 Ashwin Nanjappa β€’ All writing under CC BY-SA license β€’ 🐘 @codeyarns@hachyderm.io β€’ πŸ“§