Languages

Debian 9 install jdk

2 points
Asked by:
JustMike
29820

How to install java JDK on Debian 9?

I don't like to download JDK with wget, I'd like to install it with package manager if it is possible.

1 answer
3 points
Answered by:
JustMike
29820

Quick solution to install java on Debian 9:

1. Update the package:

sudo apt update

2. Command to install OpenJDK:

sudo apt install default-jdk

3. Verify if java is installed:

java -version

 

0 comments Add comment
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join