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 java). I've always enabled it, but have yet to set it it up and
use it.
And so the chronicles report that Steve Cohen spake thusly unto the masses:
>
> 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 mentions a HOWTO file supposedly available at
> ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO/Java-HOWTO
> that wasn't there last I looked. Is this available elsewhere? Or even
> relevant?
>
> It then goes onto define a lot of rigamarole to go through either
> involving editing the fs/binfmt_java.c source file (no thanks - I'd
> rather keep my sources clean if I can) or else issuing a command to
> write something to /proc/sys/kernel/java-interpreter.
>
> How the heck do I do this? /proc/sys/kernel is not writable and I
> cannot make it writable. The chmod command is accepted but does not
> actually do anything. /proc isn't a real directory anyway, is it?
>
> Anyway, does anyone here have the scoop on the real way to set this up.
> Also, must the java interpreter be a particular directory for this to
> work?
>
>
>
>
>
>
>
>
--
¤--------------------------------------------------------------------¤
| Aaron Gaudio mailto:[EMAIL PROTECTED] |
| http://www.rit.edu/~adg1653/ |
¤--------------------------------------------------------------------¤
| "The fool finds ignorance all around him. |
| The wise man finds ignorance within." |
¤--------------------------------------------------------------------¤
Use of any of my email addresses is subject to the terms found at
http://www.rit.edu/~adg1653/email.shtml. By using any of my addresses, you
agree to be bound by the terms therein.