Matt Arnilo S. Baluyos wrote:
- # alternatives --install /usr/bin/java java /usr/local/java/bin/java 3
Jim Perrin wrote:
This is quite a bit cleaner than I've done things in the past, and something I should probably learn.
Yeah, I've done this a few times, but ...
Matt Arnilo S. Baluyos wrote:
- # alternatives --config java (then choose our new Java command)
Jim Perrin wrote:
After running this command, I ran alternatives --display java and noticed that a fair amount of the slaves were not set including jre etc. Have you worried about setting these? I've read through the manpage for alternatives, but if you have any other documentation sources I'd love to read them.
That's why I don't go through the whole mess. One of these days I've make an RPM to "fix" the alternatives.
But until then, I typically either do things manually, or yank the GCJ install.