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

Do you need remote help, setting up your system, installing programs or general troubleshooting?  Hire me on Upwork! Click here!

Subscribe to our weekly Linux Round-Up: SUBSCRIBE


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

Do you want an ad-free, secure web experience, that pays you?  Look here for more information!
https://www.linuxmadesimple.info/2019/02/brave-browser-for-future.html

Looking for Web-hosting solutions?  Look here:  A2 Hosting

Follow us on Facebook:  https://www.facebook.com/linuxmadesimple



Comments