Question: How Do I Install a Jar File in Linux?
Contents Where Should I Put Jar Files in Linux? If You Are Using the Packing System, Then a Good Choice Is Indeed /Usr/Share/Java/ or /Usr/Lib (If Your App Is...
Contents
Where should I put jar files in Linux?
IF you are using the packing system, then a good choice is indeed /usr/share/java/ or /usr/lib (if your app is called from /usr/bin or /usr/sbin). Another good choice would be inside /usr/local, only if this app of yours is host specific.
Must Read
How do I run a jar file in Unix?
There are two ways to execute the jar file:
- At the DOS or UNIX command prompt, type java -jar myResult. jar . This should work; if it doesn’t, there are two main possibilities: …
- Double-click the jar file. This will work if your system has been configured to know about jar files. If not, see below.