* Ville Skyttä <ville.skytta@xxxxxx> [2008-04-02 17:10]: > Ditto would be noting somewhere that the process of removing Class-Paths from > manifests will break "java -jar foo.jar" invocations if foo.jar requires > additional user stuff in the classpath. This is because $CLASSPATH, -cp > and -classpath are ignored with "java -jar"; only Class-Path in manifest > works with it. The workaround is to not use -jar but use the main class name > instead, and set classpath the usual way as required. Yup. > Packagers should therefore not use "java -jar" in any scripts or docs, > and this could be a good thing to note in end user docs as well. Yeah. Andrew
Attachment:
pgpA4nrhPFYU8.pgp
Description: PGP signature
-- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list