JDK is basically Java Development Kit. JDK is important and a required tool for doing the programming in Java Language or any Java Based programming.
For developing application in Android Studio also the JDK and JRE must be install in our computer. You need to install JDK for using Android studio.
JRE stands for Java Run-time Environment, which provides run-time environment to run the java program, any android application or any project.
JDK and JRE are two main things while programming in Java language. It is not possible to develop a android application without installing these two. The Android Studio wont work unless these two are installed.
Installing these two is very easy. All you need to do is follow he below steps.
Step 1: The first thing to do is download JDK and JRE from the official website of Oracle.
Just select the file of your OS version , accept the agreement and download the two files.
Step 2: After downloading the two , go to your downloaded folder and select the JDK file for installation. It will show user account control , just click on "Yes".
Step 3: Then select "Next" for the further process.
Step 4: Now it will show the location where it can store. It is better to set it as default location or if you want you can browse the location you want.
Step 5: Now the installation process will start.
It will take some time to install.
Step 6: Now choose the destination for JRE installation. In the latest version on JDK, it includes both the files JDK and JRE. Choose the same location you have selected for JDK.
After successful installation, we can see this:
Tip: To know if you want to check whether JDK & JRE are already installed on your computer, just go to command prompt and write the command
"javac" and enter.
If JDK is not installed:
If JDK is installed:
And that's it, you have successfully installed JDK and JRE. Now you can start use Android Studio since Java is installed on your computer.
If you have any doubts or suggestions, give a comment.
😇
No comments:
Post a Comment