[ale] Should JAR files go in lib or share?
Chris Fowler
cfowler at outpostsentinel.com
Tue Nov 3 13:51:56 EST 2020
I was having a discussion with a developer this morning about my choice to put our JAR files in lib and since they are technically libraries should be there, but when going after another JAR file I noticed Ubuntu uses share. lib.
I noticed that CentOS and Ubuntu have different ideas too.
CentOS places the actual file in lib and a symlink in share.
[DEVEL libxalan-java]$ ls -l /usr/share/java/jna.jar
lrwxrwxrwx. 1 root root 22 Nov 8 2019 /usr/share/java/jna.jar -> ../../lib/java/jna.jar
Ubuntu puts the jar in share:
chris at mechonis:~/Downloads$ ls -l /usr/share/java/js.jar
lrwxrwxrwx 1 root root 14 Jan 20 2017 /usr/share/java/js.jar -> js-1.7.7.1.jar
I'm going with lib because the nature of these files aare that they are "libarires" that get loaded, executed, and are an API. They look like a libXXXX.so and quack like a libXXXX.so.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.ale.org/pipermail/ale/attachments/20201103/ea129da3/attachment.html>
More information about the Ale
mailing list