mark wrote:
Les Mikesell wrote:
mark wrote:
Niki Kovacs wrote:
Les Mikesell a écrit :
<snip> > Here's an example. I have a directory java/, with the latest java from > sun.com, plus the following script: <snip> I've just become familiar with alternatives, and now wonder why no one created that a decade ago.
It's not a real good fit for things like java where you really want to be able to run multiple versions simultaneously, depending on the user, the app, or the intended purpose (perhaps testing the next release while production apps continue to use the older one).
I gather, thought that is what JAVA_HOME is for....
Yes, but you also need to know where that is, and the correct path to the executable you want, which the alternatives system goes out of its way to hide. And if you want different builds/patchlevels of the same minor rev, the RPM system itself will make it difficult.