[fedora-java] Why no Class-Path manifest attribute?

Andrew Haley aph at redhat.com
Wed May 29 09:30:50 UTC 2013


On 05/29/13 10:13, Florian Weimer wrote:
> The existence of the Class-Path attribute is not widely known, and I was 
> surprised to see it mentioned in the policy.

Yes it is, it's very well-known, and is almost universally rejected.
It bakes hard paths into jarfiles and overrides -classpath.  In other
words, it has similar disadvantages to -RPATH.

It's not really suitable for any use, IMO.

Andrew.


More information about the java-devel mailing list