Ask Your Question
0

How to install Java 11 on Fedora 29

asked 2019-04-23 14:04:02 -0500

Previously I have installed java on ubuntu using this tutorial but in recent days I have switched to Fedora and don't have more experience with dnf package manager please tell me how to install java 11 on Fedora 29.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2019-04-23 17:13:37 -0500

fcomida gravatar image

Open a terminal window and run:

sudo dnf search openjdk | grep 11

This is the output:

java-11-openjdk-demo.x86_64 : OpenJDK Demos 11
java-11-openjdk-jmods.x86_64 : JMods for OpenJDK 11
java-11-openjdk-src.x86_64 : OpenJDK Source Bundle 11
java-11-openjdk.i686 : OpenJDK Runtime Environment 11
java-11-openjdk.x86_64 : OpenJDK Runtime Environment 11
java-11-openjdk-javadoc.x86_64 : OpenJDK 11 API documentation
java-11-openjdk-devel.i686 : OpenJDK Development Environment 11
java-11-openjdk-devel.x86_64 : OpenJDK Development Environment 11
java-11-openjdk-headless.x86_64 : OpenJDK Headless Runtime Environment 11
java-11-openjdk-headless.i686 : OpenJDK Headless Runtime Environment 11
java-11-openjdk-headless.x86_64 : OpenJDK Headless Runtime Environment 11
java-11-openjdk-demo-slowdebug.x86_64 : OpenJDK Demos 11 with full debug on
java-11-openjdk-jmods-slowdebug.x86_64 : JMods for OpenJDK 11 with full debug on
java-11-openjdk-slowdebug.x86_64 : OpenJDK Runtime Environment 11 with full
java-11-openjdk-headless-slowdebug.x86_64 : OpenJDK Runtime Environment with
java-11-openjdk-src-slowdebug.x86_64 : OpenJDK Source Bundle 11 for packages
java-11-openjdk-devel-slowdebug.x86_64 : OpenJDK Development Environment 11 with
java-11-openjdk-javadoc-zip.x86_64 : OpenJDK 11 API documentation compressed in
java-11-openjdk-javadoc-slowdebug.x86_64 : OpenJDK 11 API documentation for
java-11-openjdk-javadoc-zip-slowdebug.x86_64 : OpenJDK 11 API documentation

For installing the package(s) you need:

sudo dnf install <package-name>

e.g. sudo dnf install java-11-openjdk-devel.x86_64

For a more detailed description of each package:

sudo dnf info <package-name>

edit flag offensive delete link more
0

answered 2019-04-26 14:25:13 -0500

vipul0 gravatar image

sudo dnf install java-11-openjdk-devel

sudo dnf install java-11-openjdk-headless

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-04-23 14:04:02 -0500

Seen: 66 times

Last updated: Apr 23 '19