Reputation: 4584
My current java version is 11.0.12
. I want to install 11.0.13
so I tried with update-alternatives --config java
but there is no 13 version.
I also check with installable java version by apt search "OpenJDK"
, it show
So I don't know how to find 11.0.13
installer package ?
PS - I don't want to install by local downloaded file.
Upvotes: 2
Views: 15721
Reputation: 104
update-alternatives --config java
command only works when you have different Java major versions installed in different paths, such as a jdk8 and an 11.
Try updating your repository with sudo apt update
and then check with apt list openjdk-11-jdk
.
What version of Ubuntu do you have?
Upvotes: 1