After building your kernel to support binfmt_misc, cat the following line
to /proc/sys/fs/binfmt_misc/register
:Java:M::\xca\xfe\xba\xbe::/usr/local/bin/jwrapper:
and make an executable file /usr/local/bin/jwrapper containing the script
which follows :
-BEGIN JWRAPPER-
#!/bin/bash
# /us
Indeed, binfmt_java is deprecated. Notice when you configured the kernel
that there is a binfmt_misc. This is the preferred way of dealing with
java binaries. There is a file called, appropriately, binfmt_misc.txt
which explains how to set it up (it's designed for arbitrary interpreters,
not just
Now I feel like a dope... I was speaking for the development (2.1.XX and
2.2.0-preX) kernels. Sorry.
And so the chronicles report that Aaron Gaudio spake thusly unto the masses:
>
> Indeed, binfmt_java is deprecated. Notice when you configured the kernel
> that there is a binfmt_misc. This is th
The file java.txt in the /usr/src/linux/documentation directory gives
information on compiling the java kernel to provide support for running
java binaries. (This file is in the 2.0.36 source trees and I believe
earlier ones as well.
It appears to be somewhat out of date.
For one thing, it ment