Printing with java under FreeBSD - CUPS symlinks
Kurt Miller
lists at intricatesoftware.com
Thu Sep 7 13:55:44 UTC 2006
On Thursday 07 September 2006 1:47 am, Virgil Champlin wrote:
> This bit me on a couple of hosts with the 1.2.x upgrade which removes
> print/cups-lpd. So I took a look in
> /usr/ports/print/cups-base/pkg-install. The post install operation
> "unshades" the /usr/local/bin versions of lp* by clearing the mode bits
> on the /usr/bin copies (chmod -h 0 ...).
The cups change assumes that all applications that use lpr search
the path for it. It is not a valid assumption IMHO.
It is not a valid approach for java. The jdk expects /usr/bin/lpr
to just work. It doesn't search the path for lpr.
> It no longer moves them out of
> the way and replaces them with symlinks. It also does it only if you
> have CUPS_OVERWRITE_BASE defined. CUPS 1.2.x has been a real pain but
> for other reasons. -virgil
More information about the freebsd-java
mailing list