← Back to team overview

openjdk team mailing list archive

Bug#976667: Bug#976667: openjdk-16-jre-headless: too low prioriry for it to be used by default

 

On 12/6/20 6:55 PM, mc36 wrote:
> Package: openjdk-16-jre-headless
> Version: 16~27-2
> Severity: normal
> 
> Dear Maintainer,
> 
> the package works fine for my project however it have to low
> priority assigned to be used by default. please increase!
> 
> 
> mc36@noti:~$ sudo update-alternatives --config java
> There are 6 choices for the alternative java (providing /usr/bin/java).
> 
>   Selection    Path                                            Priority   Status
> ------------------------------------------------------------
> * 0            /usr/lib/jvm/java-15-openjdk-amd64/bin/java      1511      auto mode
>   1            /usr/lib/jvm/java-11-openjdk-amd64/bin/java      1111      manual mode
>   2            /usr/lib/jvm/java-13-openjdk-amd64/bin/java      1311      manual mode
>   3            /usr/lib/jvm/java-14-openjdk-amd64/bin/java      1411      manual mode
>   4            /usr/lib/jvm/java-15-openjdk-amd64/bin/java      1511      manual mode
>   5            /usr/lib/jvm/java-16-openjdk-amd64/bin/java      1511      manual mode
>   6            /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java   1081      manual mode
> 
> Press <enter> to keep the current choice[*], or type selection number: ^C

yes, the priority should be bumped, however you can, and should manually
configure these.

see also update-java-alternatives(1)


References