[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Summary of the 2008-04-01 Packaging Committee meeting



* Ville Skyttä <ville skytta iki fi> [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: pgpdvXDAAjpyw.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]