Stefan Bodewig a écrit :

On Solaris a file with the extension .jar whose first ZIP extra field
has the ID 0xCAFE (and is otherwise empty) is considered executable
and automatically handed of to Java as a "shell".

The jar tool in Sun's JDK adds this extra field and so does Ant's jar
task.

Is it only added if the manifest has a Main-Class attribute ?

Emmanuel Bourg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to