Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #31081
| From | Fredrik Jonson <fredrik@jonson.org> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Convention for location of jar files |
| Date | 2015-02-08 08:56 +0000 |
| Message-ID | <slrnmde961.417.fredrik@biggles.jonson.org> (permalink) |
| References | <0d521fb0-7bef-45f3-8f43-a084e75f0e8c@googlegroups.com> <mb5ql8$u9v$2@dont-email.me> |
In Jeff Higgins wrote: > On 02/07/2015 10:09 AM, Noman Shapiro wrote: > > Is there a convention, or perhaps conventions, for the location of jar > > files, for use by scripts with commands like "java -jar > > someDirectory/foobar.jar" ? > > My Debian system puts a lot of them in /usr/share/java Yes, but do note that the location /usr/share/java in Debian is global and solely intended for system wide jar files installed from debian packages. Do not manually put random jar files there, neither as a user, nor from a custom application installation script. https://www.debian.org/doc/packaging-manuals/java-policy/x110.html If you're including jar dependencies in your privately packaged file, I'd recommend that you put the jar files in a 'lib' subdirectory of the installation directiory, or directly in the same directory as your main application jar. -- Fredrik Jonson
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Convention for location of jar files Noman Shapiro <normanzshapiro@gmail.com> - 2015-02-07 07:09 -0800
Re: Convention for location of jar files Knute Johnson <eternal@knutejohnson.com> - 2015-02-07 09:57 -0800
Re: Convention for location of jar files Arne Vajhøj <arne@vajhoej.dk> - 2015-02-07 15:44 -0500
Re: Convention for location of jar files Jeff Higgins <jeff@invalid.invalid> - 2015-02-07 14:52 -0500
Re: Convention for location of jar files Fredrik Jonson <fredrik@jonson.org> - 2015-02-08 08:56 +0000
Re: Convention for location of jar files Martin Gregorie <martin@address-in-sig.invalid> - 2015-02-08 11:40 +0000
Re: Convention for location of jar files Arne Vajhøj <arne@vajhoej.dk> - 2015-02-08 10:54 -0500
Re: Convention for location of jar files Martin Gregorie <martin@address-in-sig.invalid> - 2015-02-08 22:17 +0000
csiph-web