mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-28 14:56:35 +00:00
How to install JDK development tools.
Better examples on how to install openjdk.
This commit is contained in:
parent
bf8758afdd
commit
13ff192165
1 changed files with 19 additions and 4 deletions
|
@ -20,10 +20,18 @@ Various flavors of OpenJDK are available. For information about these options, s
|
||||||
sudo dnf install <openjdk-package-name>
|
sudo dnf install <openjdk-package-name>
|
||||||
----
|
----
|
||||||
|
|
||||||
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
|
== Installing OpenJDK for development
|
||||||
|
@ -34,9 +42,16 @@ In order to install the Java Development Kit, runtime environment and associated
|
||||||
sudo dnf install <openjdk-package-name>-devel
|
sudo dnf install <openjdk-package-name>-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
|
||||||
|
----
|
||||||
|
|
Loading…
Reference in a new issue