How to Install JDK on Windows

How do you install the JDK and the settings? Let’s discuss a little what is JDK. JDK is software that is used to compile Java code by bytecode which can be understood and can be run by JRE (Java Runtime Envirotment).
 
Currently the main programming language for developing android applications is Java. Besides java there are: C ++, Kotlin, and Javascript (hybrid).
 
That means before installing android studio and doing the coding process using jav  language we have to install set up jdk on the computer that we use.
 

How to Install JDK

  • Download JDK 8 (or can be adjusted to the latest version) from the Oracle site or directly click the download link, select according to the OS you are using.
How to Install JDK on Windows 1
 
  • If you have downloaded, open the file then click next, as shown below
How to Install JDK on Windows 2
 
  • Select feature (follow the picture) then click next
How to Install JDK on Windows 3
 
  • Wait for the progress to finish
How to Install JDK on Windows 4
 
  • Specify the location of the jdk folder where it will be stored, then click next
How to Install JDK on Windows 5
 
  • The installation process will start and wait until it’s finished
How to Install JDK on Windows 6
 
  • If the installation process is complete, please click close
How to Install JDK on Windows 7
 

JDK Setting or Configuration (PATH)

So that we can use Android Studio normally, after installing the JDK we have to configure the JDK PATH.

The steps are as follows.
 
  • Copy the address of the installation folder jdk by: Computer> local Disk (c)> program files> java> jdk folder> bin> javac
How to Install JDK on Windows 8
 
  • After that right-click on Computer> Properties> Advanced System Settings
How to Install JDK on Windows 9
 
 
  • Select Environment Variable
How to Install JDK on Windows 10
 
  • Look for the Path variable and paste the jdk folder storage location on the variable value then click ok
How to Install JDK on Windows 11
 
JDK Installation and Path Settings are complete.