From owner-freebsd-hackers Sun Mar 2 05:15:17 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA09576 for hackers-outgoing; Sun, 2 Mar 1997 05:15:17 -0800 (PST) Received: from smtp.algonet.se (tomei.algonet.se [194.213.74.114]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id FAA09570 for ; Sun, 2 Mar 1997 05:15:14 -0800 (PST) Received: (qmail 6755 invoked from network); 2 Mar 1997 13:16:05 -0000 Received: from du116-6.ppp.algonet.se (HELO garm.mal.algonet.se) (195.100.6.116) by tomei.algonet.se with SMTP; 2 Mar 1997 13:16:05 -0000 Message-ID: <33197D76.41C67EA6@algonet.se> Date: Sun, 02 Mar 1997 14:15:34 +0100 From: Mats Lofkvist X-Mailer: Mozilla 3.01Gold (X11; I; FreeBSD 2.1.7-RELEASE i386) MIME-Version: 1.0 To: hackers@freefall.freebsd.org Subject: Re: java support under FreeBSD. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk A few more problems: - I can't see any decent way to automagically execute .class when a user types . If typing .class is considered ok, why is typing 'java ' not? If the solution is to add a soft link, why not write a two-line script at once and avoid the need for kernel support altogether? - If the kernel only keeps track of a single CLASSPATH (via sysctl or whatever), the user is limited to the code locations supported by the sysadmin. Kind of not being able to set my own PATH, uck :-( Maybe the kernel CLASSPATH should be appended to the users?? Seems like the shell script solution is the best one. Being able to set the CLASSPATH that make _this_ program work in the script is a additional benefit you can't get from kernel execution of the code. _ Mats Lofkvist mal@algonet.se