Red Hat Bugzilla – Bug 964762
setup & upgrade should enforce open-jdk JRE using alternatives
Last modified: 2015-09-22 09:09 EDT
Today the engine-setup & upgrade do not force the use of open-jdk.
This creates issues like the one described in Bug 961081.
See also bug 860329 for reference (a documentation bug).
isn't it bad form to force alternatives in the machine, rather make sure we use what we need?
(In reply to Itamar Heim from comment #3)
> isn't it bad form to force alternatives in the machine, rather make sure we
> use what we need?
Application should not touch system wide settings.
Application that is jre sensitive should select its flavor of what installed.
Alternatives could have been more helpful if it could have been queried for its information. But for now, we simply search the right jre.
In Gentoo, for example, it is much more advanced...
$ java-config --select-vm=icedtea-7 --java
$ java-config --select-vm=icedtea-7 --javac
$ java-config --select-vm=icedtea-7 --jre-home
This is dup of bug#834436, and juan work within.