Bug#701791: java-common: update default-java when setting new alternantive

Emmanuel Bourg ebourg at apache.org
Fri Jan 6 12:14:16 UTC 2017


Le 27/02/2013 à 09:39, mourad a écrit :

> Please consider that issue because some software (like netbeans 7.3) are using
> it and I would provide the right JVM to it in changing java alternative and not
> by editing software configuration files.

I don't think the /usr/lib/jvm/default-java link should be modified by
update-java-alternatives, there are too many assumptions in Debian that
this path always leads to the same default JRE supported by Debian. But
we could add another link, for example /usr/lib/jvm/current-java, that
points to the JRE selected by update-java-alternatives.

Emmanuel Bourg



More information about the pkg-java-maintainers mailing list