Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Java (http://www.linux-archive.org/debian-java/)
-   -   Policy Changes: Executable jars and removal of Compiler section. (http://www.linux-archive.org/debian-java/355990-policy-changes-executable-jars-removal-compiler-section.html)

Matthew Johnson 04-12-2010 10:38 PM

Policy Changes: Executable jars and removal of Compiler section.
 
On Mon Apr 12 19:06, Niels Thykier wrote:
> p2_java_executables.patch rewords the part about executable jar files
> under the Java Programs section. It will allow Java Programs to install
> in accordance with the Debian Policy (and not just in /usr/bin). It also
> specifies where private jar files should be placed.
>

You should mention a requirement for a Main-Class attribute if you are using
executable jars.

Matt

--
Matthew Johnson

Matthew Johnson 04-12-2010 10:54 PM

Policy Changes: Executable jars and removal of Compiler section.
 
On Tue Apr 13 00:50, Matthias Klose wrote:
> On 12.04.2010 19:06, Niels Thykier wrote:
>> p2_java_executables.patch rewords the part about executable jar files
>> under the Java Programs section. It will allow Java Programs to install
>> in accordance with the Debian Policy (and not just in /usr/bin). It also
>> specifies where private jar files should be placed.
>
> what is wrong with jars executed directly with the binfmt-support?

Jars executed directly with binfmt-support (which is what jarwrapper provides)
is what this patch is about. Do you mean class files executed directly? I just
don't see a use case for a single class file with no classpath...

Matt
--
Matthew Johnson


All times are GMT. The time now is 07:36 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.