How to upgrade the Java runtime environment in LibreOffice 6


Today we are looking at how to upgrade the Java runtime environment in LibreOffice 6 on basically any Ubuntu-based distro.

The reason why you might want to try to update your Java environment is that you are experiencing major bugs in LibreOffice like crashes/freezes and slowness.  I know that most people don't experience these issues but some do and I thought I should make this guide.

So firstly I add a PPA, to get the latest version of Java, then I install Java 12, when a newer version of Java is being released, I might update the command.  After installing Java we go to LibreOffice and inside of it go to Tools/Options/Advanced.  There you will either just see the Java version you installed or a few others as well, depending on what you have on your system.. Lastly, choose the newest one and apply it.  You might need to restart LibreOffice.

Please let me know if it helped you!

Commands Used:
sudo add-apt-repository ppa:linuxuprising/java

sudo apt update
sudo apt install oracle-java12-installer

About PPA:
https://launchpad.net/~linuxuprising/+archive/ubuntu/java

We are on social media! For announcements, content release updates (across all our projects), and much more, please join our Reddit community!
https://www.reddit.com/r/linuxmadesimple/


For a video with Voice-Overs look here: https://youtu.be/b338I09vSnw

Curios about Chromebooks have a look at our Chromebook Comparison Chart!

Want to buy us a cup of coffee, thank you!

Comments