From bf8758afddb8eaf19b09a69504fefbcd154ca65f Mon Sep 17 00:00:00 2001 From: alciregi Date: Mon, 1 Jun 2020 09:37:33 +0200 Subject: [PATCH] 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). --- .../_partials/proc_installing-openjdk.adoc | 27 ++++++++++++++----- 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/modules/ROOT/pages/_partials/proc_installing-openjdk.adoc b/modules/ROOT/pages/_partials/proc_installing-openjdk.adoc index e892b11..42d74db 100644 --- a/modules/ROOT/pages/_partials/proc_installing-openjdk.adoc +++ b/modules/ROOT/pages/_partials/proc_installing-openjdk.adoc @@ -1,15 +1,15 @@ [id='installing-openjdk'] -= Installing OpenJDK += Installing OpenJDK 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] 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: ---- -# dnf install +sudo dnf install ---- 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 -devel +---- + +For example: + +---- +sudo dnf install java-{1.8.0|11|latest}-openjdk-devel.x86_64 +---- +