How to install Java runtime environment on Fedora for LibreOffice needs it

I am using Fedora 30 Workstation KDE of Fedora from Spins.
LibreOffice Base needs Java runtime environment (JRE).
Can you please teach me how to install it?

I know you want JRE but it much better to install JDK. I use openJDK (there is no OpenJRE right?)
simply just sudo dnf install java-11-openjdk java-11-openjdk-devel will install JAVA.

Or you can download binary file from oracle and install it youself. You can follow this POST

3 Likes

Thank you so much for your kind assistance.
From sudo dnf install java-11-openjdk java-11-openjdk-devel , LibreOffice has found it already.

1 Like

There’s a quick-doc for this now:

https://docs.fedoraproject.org/en-US/quick-docs/installing-java/

Please consider linking to it instead of private pages. Please help improve the quick-doc if you have the time too.

Please mark the post as the solution when you find a minute to spare, @afdrnk

More information on using Discourse is in the posts in the #start-here category.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.