Messages in this thread |  | | Date | Sun, 5 May 1996 13:28:02 +0300 (EET DST) | From | Mikko Ala-Fossi <> | Subject | Re: Java in OS? |
| |
On Fri, 3 May 1996, Alan Cox wrote:
> > How would you specify where to find the interpreter? Compiled Java > > doesn't have comments, so you couldn't use the #!-style approach.
> You can add one to the front, you can also use something like the elksemu > module that spots elks binaries by magic number, rewrites them to > allegedly have #! and passes them to the shell interpreter.
Why can't we just patch binfmt_script.c so, that it could be configured to recognice some magics and then fetch file to the magic-specific interpreter?
-maf
|  |