Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Mar 1997 12:39:34 +0100
From:      j@uriah.heep.sax.de (J Wunsch)
To:        hackers@freebsd.org
Subject:   Re: Java binary support in FreeBSD ...
Message-ID:  <Mutt.19970301123934.j@uriah.heep.sax.de>
In-Reply-To: <Pine.BSF.3.95q.970301134019.1549E-100000@obiwan.aceonline.com.au>; from Adrian Chadd on Mar 1, 1997 13:42:50 %2B0800
References:  <E0w0W7K-0002wa-00@rover.village.org> <Pine.BSF.3.95q.970301134019.1549E-100000@obiwan.aceonline.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
As Adrian Chadd wrote:

> Again - its just one file (imgact_java.c) which has the code to recognise
> java binaries, and then do some magic to execute it with the right
> interpreter and command args, etc.

So easy said -- so hard to accomplish.

If i'm not very mistaken, the image activator gets a vnode, but it
doesn't have the slightest idea about the pathname that caused this
vnode reference.  (Heck, the pathname might even no longer exist at
all already.)  However, since the java interpreter doesn't allow
reading off stdin, it _needs_ to be passed a pathname, and even worse,
it _needs_ to be done by tweaking the $CLASSPATH environment setting.
That's quite a little more than 15 minutes of work.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Mutt.19970301123934.j>