As we were setting up a machine that would be used for software development, we came to the need of installing a Java Development Kit
(JDK
).
There are two popular choices on the web between the OpenJDK
and the Oracle JDK
, we decided to go with the OpenJDK
option which is a free and open source implementation of the Java Platform and it is part of the official Fedora repositories.
To install the OpenJDK
along with all the needed libraries for development we used the following command:
sudo dnf install java-1.8.0-openjdk java-1.8.0-openjdk-devel;
On our GNU
/Linux
Fedora
the installation folder of the JDK
was /usr/lib/jvm/java-1.8.0-openjdk
.
This post is also available in: Αγγλικα