So to set these variables, first right-click on My PC and select Properties.If we do not set the PATH variable, we will specify the full path to the JDK bin every time we run a program.įor example: C:\> “C:\Program Files\Java\jdk-11.0\bin\javac” TestClass.java.The CLASSPATH variable provides us with the library files location. The PATH variable in our system provides the exact location of executables that will be used for running Java programs, such as javac and java.
exe as an extension) once the download is done.
It requires around 800 MB disk space to install JDK, as JRE also gets installed along with it. JDK has bare minimum requirements for disk space and RAM for the 64-bit Windows platform. Web development, programming languages, Software testing & others Installation Prerequisites of JDK Start Your Free Software Development Course