I installed Ubuntu on my computer, and now my Java version is not updated. I have Java, so I don't need to install - just update the current version.
Can someone please tell me the command I have to use to get the current version?
I have tried: apt-get update
and apt-get upgrade
.