in , ,

How to Download & Install Java JDK 8 in Windows 10

How to Download and Install Java
How to Download and Install Java

In this tutorial, you will learn-

How to Download and Install Java

This Java Development Kit(JDK) lets in you to code and run Java programs. It’s possible which you set up more than one JDK variations at the same PC. But Its recommended installing Java on Windows 10 with latest version.

What is JDK?

JDK (Java Development Kit) is a software development kit needed to create applications in Java. At the point when you download JDK, JRE is additionally downloaded with it.

In addition JRE, JDK likewise contains various development tools (compilers, JavaDoc, Java Debugger, and so on).

How to install Java for Windows

Following are the steps on how to install Java in Windows 10 for JDK 8 free down load for 32 bit or JDK8 download for Windows 64 bit and installation

Step 1) Go to link. Click on JDK Download for Java download JDK 8.

Step 2) Next,

1. Accept License Agreement

2. Download Java 8 JDK for your version 32 bit or JDK download 64 bit.

Step 3) When you click on the Installation link the popup will be open. Click on I reviewed and accept the Oracle Technology Network License Agreement for Oracle Java SE development kit and you may be redirected to the login page. If you don’t have an oracle account you may effortlessly sign up by adding of adding basics info of yours.

NOTE: You may be required to create an Oracle Account to start Java 8 download of the file.

Step 4) Once the Java JDK 8 download is complete, run the exe for install JDK. Click Next

Step 5) Select the PATH to install Java in Windows… You can leave it Default. Click next.

NOTE: Follow the onscreen instructions in succeeding steps to install Java eight on Windows 10.

Step 6) Once you install Java in home windows, click Close

How to set Environment Variables in Java: Path and Classpath

The PATH variable gives the location of executables like javac, java and so on. It is possible to run a program without specifying the PATH however you may want to provide full path of executable like C:Program FilesJavajdk1.Eight.0_271binjavac A.Java instead of simple javac A.Java

The CLASSPATH variable gives location of the Library Files.

Let’s check out the steps to set the PATH and CLASSPATH

Step 1) Right Click on My Computer and Select the properties

Step 2) Click on advanced system settings

Step 3) Click on Environment Variables to set Java runtime environment

Step 4) Click on new Button of User variables

Step 5) Type PATH in the Variable name.

Step 6) Copy the path of bin folder which is installed in JDK folder.

Step 7) Paste Path of bin folder in Variable value. Click on OK Button.

Note: In case you already have a PATH variable created in your PC, edit the PATH variable to

PATH = <JDK installation directory>\bin;%PATH%;

Here, %PATH% appends the existing path variable to our new value

Step 8) You can follow a similar process to set CLASSPATH.

Note: In case you java installation does not work after installation, change classpath to

CLASSPATH = <JDK installation directory>\lib\tools.jar;

Step 9) Click on OK button

Step 10) Go to command prompt and type javac commands.

If you notice a screen like below, Java is installed.


Java JDK, JRE, and JVM

Java Hello World Program

Java Data Types (Primitive)

Java Operators

Java Basic Input and Output

Thanks for reading! We hope you found this tutorial helpful and we would love to hear your feedback in the Comments section below. And show us what you’ve learned by sharing your projects with us.

salman khan

Written by worldofitech

Leave a Reply

Bitcoin Course

Bitcoin Course

Bitcoin - Environmental Setup

Bitcoin – Environmental Setup