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

Re: binfmt-misc and freebsd (Was: Re: jar fails to execute natively)



On Tue Aug 17 15:08, Will Morton wrote:
> On 17 August 2010 14:49, Matthew Johnson <mjj29@debian.org> wrote:
> > On Tue Aug 17 15:45, Torsten Werner wrote:
> >> don't forget, that binfmt does not work for kfreebsd at all. I think
> >> we shouldn't rely on working binfmt in our packages.
> >
> > Oh, that's a damn good point. Shame noone noticed it at Debconf. We'll probably
> > have to rewrite that out of policy and rethink handling those in javahelper.
> >
> 
> Since jarwrapper is only 40 lines of shell, javahelper could just
> install the contents of jarwrapper into /usr/bin/<app> with an
> appropriate pointer to the app.jar?

Indeed, but since the packages are arch: all, this will happen on all platforms. 

Actually, you can probably get away with:

#!/usr/bin/jarwrapper /path/to/app.jar

Matt

Attachment: signature.asc
Description: Digital signature


Reply to: