On Mon Jul 08 12:05, Eugene Zhukov wrote: > >> > So, you have the dependency in the binary package, you have the symlink. Is the > >> > jar executable? You must do that for binfmt_misc to even try doing anything. > >> > Your options are manually setting it to executable, or calling jh_exec after > >> > the link step, which will do it for you. > >> > > >> Yes, the jar is executable and > >> java -jar /usr/share/java/foobar. > > > > So.. what's not working? jarwrapper is installed when you install the package? > Yes > > The symlink to the jar is on your path? > Yes > > The jar runs with java -jar? > Yes > > But '/path/to/jar' doesn't work? just 'linkname' doesn't work? > Yes You mean neither of them work? It what way don't they work? What error do you get? > > Does /proc/sys/fs/binfmt_misc/jarwrapper exist? What's in it? > Yes, contents: <...> This seems fine > > What does update-binfmts --display show you? <...> This also seems fine. What return code does jardetector your.jar give you? What does jarwrapper your.jar do? Matt
Attachment:
signature.asc
Description: Digital signature