From owner-freebsd-hackers  Thu Feb 27 11:29:52 1997
Return-Path: <owner-hackers>
Received: (from root@localhost)
          by freefall.freebsd.org (8.8.5/8.8.5) id LAA14581
          for hackers-outgoing; Thu, 27 Feb 1997 11:29:52 -0800 (PST)
Received: from smtp1.xs4all.nl (smtp1.xs4all.nl [194.109.6.51])
          by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA14570
          for <freebsd-hackers@freebsd.org>; Thu, 27 Feb 1997 11:29:45 -0800 (PST)
Received: from asterix.xs4all.nl (root@asterix.xs4all.nl [194.109.6.11]) by smtp1.xs4all.nl (8.7.6/XS4ALL) with ESMTP id UAA23409 for <freebsd-hackers@freebsd.org>; Thu, 27 Feb 1997 20:29:23 +0100 (MET)
Received: from plm.xs4all.nl (uucp@localhost) by asterix.xs4all.nl (8.7.5/8.7.2) with UUCP id UAA01643 for freebsd-hackers@freebsd.org; Thu, 27 Feb 1997 20:23:49 +0100 (MET)
Received: (from plm@localhost) by plm.xs4all.nl (8.8.4/8.7.3) id SAA11613; Thu, 27 Feb 1997 18:31:18 +0100 (MET)
To: freebsd-hackers@freebsd.org
Subject: Re: Java binary support in FreeBSD ...
From: Peter Mutsaers <plm@xs4all.nl>
Date: 27 Feb 1997 18:31:18 +0100
In-Reply-To: Mark Mayo's message of Thu, 27 Feb 1997 07:41:53 -0500 (EST)
Message-ID: <87bu96gnq1.fsf@plm.xs4all.nl>
Lines: 27
X-Mailer: Gnus v5.4.15/Emacs 19.34
Sender: owner-hackers@freebsd.org
X-Loop: FreeBSD.org
Precedence: bulk

>> On Thu, 27 Feb 1997 07:41:53 -0500 (EST), Mark Mayo
>> <mark@quickweb.com> said:

    >> in the KERNEL itself, but something like what LInux does, ie
    >> you echo the paths of the java executer and appletview into
    >> /proc/sys/kernel/java-interpreter and ../applet-viewer, and
    >> everytime a java binary is run, it runs the appropriate program
    >> with the right arguements, and there is your nice java binary
    >> running. :)

    MM> Why bother??? It's not so hard to type 'java Class'......  I
    MM> like my users to be aware that they are running through an
    MM> interpreter, and that there are command line options to the
    MM> interpreter.

I don't think it is so strange. There are also shell scripts that are
automatically executed by /bin/sh. It would be very nice either to
type 'sh' in front of every shell script.

Since it is impossible to put #!/usr/local/bin/java at the first line
of a java "binary" (because it is a binary file) this addition would
be quite neat. Especially when Java apps will become more common it is
a must I think.

-- 
Peter Mutsaers  |  Abcoude (Utrecht), |  Trust is a good quality
plm@xs4all.nl   |  the Netherlands    |  for other people to have