jar fails to execute natively

2010-08-16 Thread Will Morton
I've created a debian package for my java application using javahelper. Everything seems to go ok, it installs the application jar into /usr/share/ and creates a symlink from /usr/bin/ to the jar, but this fails to execute with the following error: /usr/bin/robonobo: line 1: PK : command not fou

Re: jar fails to execute natively

2010-08-16 Thread Will Morton
On 17 August 2010 00:20, Matthew Johnson wrote: > interesting, it should, as you say, just work. Can you give me the output of > the following commands: > file `readlink -f /usr/bin/robonobo` /usr/share/robonobo/robonobo.jar: Zip archive data, at least v1.0 to extract > jar tf /usr/bin/robonobo

Re: jar fails to execute natively

2010-08-17 Thread Will Morton
On 17 August 2010 08:16, Matthew Johnson wrote: > > Well, that's your problem, it's disabled. Have you done anything to binfmts > that might have changed that? > > Try running as root: update-binfmts --enable jarwrapper > Hadn't consciously touched anything in binfmts, but I have been messing aro

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

2010-08-17 Thread Will Morton
On 17 August 2010 14:49, Matthew Johnson 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 >