Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Mar 1997 14:15:34 +0100
From:      Mats Lofkvist <mal@algonet.se>
To:        hackers@freefall.freebsd.org
Subject:   Re: java support under FreeBSD.
Message-ID:  <33197D76.41C67EA6@algonet.se>

next in thread | raw e-mail | index | archive | help
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.

      _
Mats Lofkvist
mal@algonet.se



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33197D76.41C67EA6>