From 13ff1921651cc092874e1dc67c5ec50561e1c18b Mon Sep 17 00:00:00 2001 From: alciregi Date: Thu, 4 Jun 2020 09:20:57 +0200 Subject: [PATCH] How to install JDK development tools. Better examples on how to install openjdk. --- .../_partials/proc_installing-openjdk.adoc | 23 +++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/modules/ROOT/pages/_partials/proc_installing-openjdk.adoc b/modules/ROOT/pages/_partials/proc_installing-openjdk.adoc index 42d74db..9d1c6ab 100644 --- a/modules/ROOT/pages/_partials/proc_installing-openjdk.adoc +++ b/modules/ROOT/pages/_partials/proc_installing-openjdk.adoc @@ -20,10 +20,18 @@ Various flavors of OpenJDK are available. For information about these options, s sudo dnf install ---- -For example: +Examples: ---- -sudo dnf install java-{1.8.0|11|latest}-openjdk.x86_64 +sudo dnf install java-1.8.0-openjdk.x86_64 +---- + +---- +sudo dnf install java-11-openjdk.x86_64 +---- + +---- +sudo dnf install java-latest-openjdk.x86_64 ---- == Installing OpenJDK for development @@ -34,9 +42,16 @@ In order to install the Java Development Kit, runtime environment and associated sudo dnf install -devel ---- -For example: +Examples: ---- -sudo dnf install java-{1.8.0|11|latest}-openjdk-devel.x86_64 +sudo dnf install java-1.8.0-openjdk-devel.x86_64 ---- +---- +sudo dnf install java-11-openjdk-devel.x86_64 +---- + +---- +sudo dnf install java-latest-openjdk-devel.x86_64 +----