The commands you propose works because you set/changed environment
variables (PATH, JAVA_HOME). But for every other user (including system
users) these normally do not work (you could say that there is
/etc/environment but there is no policy forcing a program to use it).

In general, one reason why package management system were introduced,
was to get rid of configuration scripts which waste time and power by
checks, like where is software xyz installed, how can I call it, does it
support a specific feature etc. If you run a ./configuration script for
every package on your system, you would notice how long it takes.

As I wrote in the first answer, you are free of installing a dummy
package to avoid installing any java package. But do not assume, that
everything continues to work as expected. The idea of using a package
manager is to have in all cases a consistent system, and this can not be
guaranteed if custom software installations are used as default.

I additionally wrote, that pdftk depends heavily on libgcj, and can
therefore not use any other java installation.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/712132

Title:
  Java Package Dependencies

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pdftk/+bug/712132/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to