The way to Set up Java on Fedora Linux
Adore it or hate it, it’s troublesome to keep away from Java.
Java remains to be a very talked-about programming language taught within the colleges and used within the enterprises.
If you wish to use a Java-based device or program in Java, you’ll must have Java in your system.
This turns into complicated as a result of there are such a lot of technical phrases round java.
Java Growth Equipment (JDK) for creating Java programsJava Runtime Atmosphere (JRE) or Java Digital Machine (JVM) for working Java applications
On high of that, you’ll come throughout OpenJDK and Oracle Java SE. OpenJDK is what’s beneficial as a result of it’s open supply. If in case you have unique want then solely you need to go for Oracle Java SE.
There’s yet one more factor right here. Even OpenJDK has a number of variations accessible. On the time of writing this text, Fedora 34 has OpenJDK 1.8, OpenJDK 11 and OpenJDK 16 accessible.
It’s as much as you to determine which Java model you need.
Putting in Java on Fedora Linux
Very first thing first, test if Java is already put in and which model it’s. I’m not kidding. Fedora normally comes with Java preinstalled.
To test, use the next command:
As you possibly can see within the screenshot beneath, I’ve Java 11 (OpenJDK 11) put in on my Fedora system.