Added Installing OpenJDK for development (how to install java-{1.8.0|11|latest}-openjdk-devel)

Modified dnf commands to include "sudo" instead of the "#" character in front of each command.

Minor aesthetic change (* instead of . for the lists).
This commit is contained in:
alciregi 2020-06-01 09:37:33 +02:00 committed by ankursinha
parent d86ec822fe
commit bf8758afdd

View file

@ -3,13 +3,13 @@
To install OpenJDK from the Fedora repository: To install OpenJDK from the Fedora repository:
. Run the following command to list available versions: * Run the following command to list available versions:
---- ----
$ dnf search openjdk dnf search openjdk
---- ----
. Copy the version of OpenJDK you want to install. * Copy the version of OpenJDK you want to install.
[NOTE] [NOTE]
Various flavors of OpenJDK are available. For information about these options, search the link:http://openjdk.java.net/[OpenJDK web site]. Various flavors of OpenJDK are available. For information about these options, search the link:http://openjdk.java.net/[OpenJDK web site].
@ -17,11 +17,26 @@ Various flavors of OpenJDK are available. For information about these options, s
* Run the following command to install OpenJDK: * Run the following command to install OpenJDK:
---- ----
# dnf install <openjdk-package-name> sudo dnf install <openjdk-package-name>
---- ----
For example: For example:
---- ----
# dnf install java-{1.8.0|11|latest}-openjdk.x86_64 sudo dnf install java-{1.8.0|11|latest}-openjdk.x86_64
---- ----
== Installing OpenJDK for development
In order to install the Java Development Kit, runtime environment and associated development tools.
----
sudo dnf install <openjdk-package-name>-devel
----
For example:
----
sudo dnf install java-{1.8.0|11|latest}-openjdk-devel.x86_64
----