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

Re: jar fails to execute natively



On Mon Aug 16 23:52, Will Morton wrote:
> 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/<appname> and creates a symlink from
> /usr/bin/<appname> to the jar, but this fails to execute with the
> following error:
> 
> /usr/bin/robonobo: line 1: PK  : command not found
> /usr/bin/robonobo: line 2: �� =: command not found
> /usr/bin/robonobo: line 3:�� =� n� D  META-INF/MANIFEST.MF��1O�0 ���:
> No such file or directory
> /usr/bin/robonobo: line 4: syntax error near unexpected token `)'
> 
> I have jarwrapper 0.28 installed, so shouldn't this jar 'just
> execute'?  Any idea what step I might have missed?  I am running
> Ubuntu Lucid.

interesting, it should, as you say, just work. Can you give me the output of
the following commands:

file `readlink -f /usr/bin/robonobo`
jar tf /usr/bin/robonobo META-INF/MANIFEST.MF
bash -x /usr/bin/jarwrapper /usr/bin/robonobo
/usr/sbin/update-binfmts --display
ls /proc/sys/fs/binfmt_misc/
cat /proc/sys/fs/binfmt_misc/jarwrapper

Thanks,
Matt

Attachment: signature.asc
Description: Digital signature


Reply to: