From owner-freebsd-hackers Sun Mar 2 14:56:09 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA08078 for hackers-outgoing; Sun, 2 Mar 1997 14:56:09 -0800 (PST) Received: from hamby1 (hamby1.lightside.net [207.67.176.17]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id OAA08072 for ; Sun, 2 Mar 1997 14:56:06 -0800 (PST) Received: (from jehamby@localhost) by hamby1 (SMI-8.6/SMI-SVR4) id OAA00611; Sun, 2 Mar 1997 14:56:58 -0800 Date: Sun, 2 Mar 1997 14:56:58 -0800 From: jehamby@lightside.com (Jake Hamby) Message-Id: <199703022256.OAA00611@hamby1> To: hackers@freefall.freebsd.org, mal@algonet.se Subject: Re: java support under FreeBSD. Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-MD5: ZwNmIGhP4DAiqtQZZM+Qiw== Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Mats Lofkvist says: > 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. Wow, are you psychic? I just finished posting that this is exactly what Solaris 2.6 is going to do (they even have a little tool to build the shell script for you, setting up the CLASSPATH properly, etc.), so I don't see why we should worry about kernel Java support in FreeBSD, considering all the problems. -- Jake