0

When I try to download Java, I download JRK. I want to download JDK, but I do not know where to download from. Can anyone help?

I am running Windows 10.

Daniyal Warraich
  • 446
  • 3
  • 13

2 Answers2

2

if you are on debian/ubutu and want OpenJDK, then this command should suffice -

sudo apt install openjdk-15-jdk

for CentOS and RHEL based Linux -

sudo yum install openjdk-15-jdk

for Arch Linux -

sudo pacman -S openjdk-15-jdk

If you are on windows or mac, its better to go ahead download Oracle JDK after accepting their terms & conditions from they site -

Oracle JDK 15

EDIT: I don't have enough points to comment. May this answer increase my reputation such that I can comment, from next time

ShadowDoom
  • 94
  • 1
  • 5
1

You can download multiple versions of the JDK at: Java SE downloads (version 15, version 11, and version 8 are currently available).

Sean Mickey
  • 7,618
  • 2
  • 32
  • 58