GameTheory
Android Expert
If you feel this shouldn't be here, let me know and I'll remove it. (it's for linux users)
So I finally updated my linux system to java 11 from 8. All went smoothly. Did some quick testing and all seems fine.
Some things to note... Prior to java 11 there would be around a couple years in between major java updates with patches in between. That has all changed. Now Oracle has introduced LTS releases with java updates every 6 months.
Java 11 is an LTS while 12, 13, 14, 15, and 16 will not be. 17 will be the next LTS. Going from say 8 to 11 you shouldn't encounter any major issues if any, but skipping from 11 to 17 can cause major issues.
For the regular everyday user, the above means nothing. For a developer you can see how this new update format can be a problem. There's too much info to cover here so I'll leave some links with plenty of info.
Here's a quick tut to update:
For OpenJDK 11:
For Oracle JDK 11:
If you wish to get rid of OpenJDK run the following to purge it:
If updating from Oracle JDK 8 or prior, delete the following directory.
(You can back it up first if you like and remove its repo)
Now install Oracle JDK...
Oracle JDK 11 should be set as default automatically, but if not run the following:
Useful info links:
https://blog.joda.org/2018/10/adopt-java-12-or-stick-on-11.html
https://blog.codefx.org/java/java-11-migration-guide/
https://www.baeldung.com/oracle-jdk-vs-openjdk
So I finally updated my linux system to java 11 from 8. All went smoothly. Did some quick testing and all seems fine.
Some things to note... Prior to java 11 there would be around a couple years in between major java updates with patches in between. That has all changed. Now Oracle has introduced LTS releases with java updates every 6 months.
Java 11 is an LTS while 12, 13, 14, 15, and 16 will not be. 17 will be the next LTS. Going from say 8 to 11 you shouldn't encounter any major issues if any, but skipping from 11 to 17 can cause major issues.
For the regular everyday user, the above means nothing. For a developer you can see how this new update format can be a problem. There's too much info to cover here so I'll leave some links with plenty of info.
Here's a quick tut to update:
For OpenJDK 11:
Bash:
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt update
sudo apt install openjdk-11-jdk
For Oracle JDK 11:
If you wish to get rid of OpenJDK run the following to purge it:
Bash:
sudo apt purge openjdk*
(You can back it up first if you like and remove its repo)
Code:
/usr/lib/jvm/oracle java folder
Bash:
sudo add-apt-repository ppa:linuxuprising/java
sudo apt update
sudo apt install oracle-java11-installer
Bash:
sudo apt install oracle-java11-set-default
Useful info links:
https://blog.joda.org/2018/10/adopt-java-12-or-stick-on-11.html
https://blog.codefx.org/java/java-11-migration-guide/
https://www.baeldung.com/oracle-jdk-vs-openjdk