Date: Sun, 2 Mar 1997 14:56:58 -0800 From: jehamby@lightside.com (Jake Hamby) To: hackers@freefall.freebsd.org, mal@algonet.se Subject: Re: java support under FreeBSD. Message-ID: <199703022256.OAA00611@hamby1>
next in thread | raw e-mail | index | archive | help
Mats Lofkvist says: > A few more problems: > > - I can't see any decent way to automagically execute <name>.class when > a user types <name>. If typing <name>.class is considered ok, why > is typing 'java <name>' 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703022256.OAA00611>