From owner-freebsd-hackers Sat Mar 1 03:51:16 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA29633 for hackers-outgoing; Sat, 1 Mar 1997 03:51:16 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id DAA29625 for ; Sat, 1 Mar 1997 03:51:12 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id MAA02228 for hackers@freebsd.org; Sat, 1 Mar 1997 12:51:10 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.5/8.8.5) id MAA00721; Sat, 1 Mar 1997 12:39:35 +0100 (MET) Message-ID: 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 ... References: X-Mailer: Mutt 0.55-PL10 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: ; from Adrian Chadd on Mar 1, 1997 13:42:50 +0800 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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. ;-)