1 |
On Saturday 18 November 2006 06:04, Matt Bucknall wrote: |
2 |
... |
3 |
> I assume then, there is no cross-platform means of finding |
4 |
> out whether/where libraries are installed automatically (i.e. for use by |
5 |
> some installation process). |
6 |
|
7 |
That is correct. Java leaves that to the user and/or the user's operating |
8 |
system to configure as desired. |
9 |
|
10 |
|
11 |
> Is it normal practice when deploying a Java |
12 |
> application to include all the JARs that it needs so not to rely on the |
13 |
> end-user having some packages already pre-installed? |
14 |
|
15 |
Yes, this is quite common. IMO this is primarily born out of the |
16 |
cross-platform nature of most Java applications combined with simplification |
17 |
(or laziness) by the program author(s). |
18 |
|
19 |
A nice balance between the extremes was already mentioned by Petteri Raty: |
20 |
offer archives without library dependencies for easier inclusion into |
21 |
installers (and operating systems like Gentoo). That way the user and |
22 |
operating system maintainers can pick the best option for their needs. |
23 |
|
24 |
~ Greg |