Posted on: Sunday, October 13, 2019
Reading time: 0 minutes and 28 seconds.
Installing Java 13 on Ubuntu is pretty simple.
All that was needed was
sudo apt install openjdk-13-jdk
sudo update-alternatives --config java
Of course, it would be better if you are on the latest version of Ubuntu so that the apt actually finds it there. (I am currently using Ubuntu 19.04). You can obtain this information by
lsb_release -a
After that, all that was needed was to properly configure the Java path where you can easily find where it is from doing
sudo update-alternatives --config java
Please do note that using the which java
and using that path does not work as it is not the SDK.