[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Environment variables for Debian (e.g. JAVA_HOME, etc)



Matthew Palmer wrote:
On Thu, Sep 09, 2004 at 04:46:24PM +0200, Dalibor Topic wrote:

Peter Samuelson wrote:

[Matthew Palmer]


Or Java could be sensible and have a standard place for putting
libraries that you didn't have to specify via an environment
variable. Then you wouldn't even need a wrapper...


I have wondered for *years* - first, why Java doesn't do this, and
second, why Java users don't seem to see a problem with Java not doing
this.  By and large they seem to just accept calmly that you have to
set arcane variables just to run any and all programs.  This is like
having to have LD_LIBRARY_PATH in your environment in order to run ls.

Because Java needs to go through the same growing pains C/Unix did :)


Only because the people who design Java have a complete inability to learn
from (other people's) prior experience.  C/Unix had to go through a pile of
crap because, in a lot of cases, nobody had *done* that sort of thing
previously for them to look at and say "hmm, cool idea".  Java, on the other
hand, has a lot of prior art to steal^Wstudy, so they can avoid these rather
obvious goofs in the language and it's environment.

I know. Sun's focus seems to lie elsewhere, though.

Non-free software aside, the free runtimes do not have to make the same goofs Sun does, wrt to the environment at least. Feel free to help correcting them on the apropriate forums :)

cheers,
dalibor topic



Reply to: