How to Install Java Development Toolkit in Windows 11/10
Android Studio requires you to install Java Development Toolkit in Windows 11/10 first. Without JDK installed, you will never be able to develop an Android app.
ava Development Toolkit is important for app developers that use Android Studio.The IDE requires you to install Java Development Toolkit in Windows 11/10 first.Without JDK installed in your system, you will never be able to develop an Android app. For those who have no cloud about it, don't worry.
Just read on how to install it.
How to Install Java Development Toolkit in Windows 10 (or Windows 11)
Before installing JDK, you have to download the setup file first. To get the setup file, click here and download it. On the Java Development Toolkit official website, just click the blue Download button with the Java icon above it.
Java SE version is currently 13.0.2, as this tutorial written.You may experience different interface when proceed to install it with different version.Now, click Accept License Agreement and then click any Java SE Development Kit version you want, either the zip file or exe file.Please note that JDK isn't currently available for Windows 10 32-bit. Now, to keep downloading it in Chrome, just click Keep.
Then, JDK proceeds to be downloaded. Once the download is done, just click the exe file to install JDK in Windows 10. Now, installing JDK requires you to choose the option about the installation process.The setup app will guide you on how to do that.Click Next. Then, choose any desired directory to store the program files.
You can click Next right away if you don't want to change the installation folder of JDK in Windows 11/10. Now, the installation process starts.You may see a blank progress bar while at the start.It's fine, just wait for some minutes to get it done.
Installing JDK in Windows 10 64-bit won't take too long time either. Now, the process of installation of JDK in Windows 10 is done, just click Close. That is how you install JDK in Windows 11/10.But, the process isn't done.You have to do more things to change the environment variables so you can develop an Android app using it, and also check whether or not JDK has been installed in Windows 11/10 or not.
How to Change Environmental Variables so You Can Make JDK Works in Windows 10
To do this, just open Control Panel.
You might be able to do the same for Windows 11, with some differences in the interface. Opening Control Panel in Windows 10 is easy, just open the Run dialog by pressing Windows Logo+R and then type Control Panel.Press Enter.Then, you will see this.
Click System and Security.
RELATED: How to Open Files using CMD
Click System to get to the system settings. Now, click Advanced system settings. System Properties has been opened.Now Environment Variables to make JDK you install works in Windows 10. Now, just click Path (make sure you click Path and not anything else).Click Edit. Now, to add the JDK variable in Windows 10, just click New. Meanwhile, you open File Explorer.
Go to program files and Java folder.You have to access your JDK version folder > bin and then copy that directory URL.You will have to paste it at Control Panel. Paste that directory URL.
Once done, just click OK.You've done adding new environment variables of JDK in Windows 10.
How to Check Whether JDK is Installed in Windows 11/10 or Not
Alright.You have one more thing to do.
Just once. You have to check whether or not JDK has been installed on your Windows 11/10 PC.This will make sure you won't experience any errors while developing Android apps using Android Studio. To do this, open CMD.You can open CMD by pressing Windows Logo+X.
Then click Command Prompt. In CMD, type this code:
Then, press Enter.You should see this kind of message to make sure you've installed JDK on your Windows 11/10 PC.
Now you've learned how to install JDK in Windows 11/10 easily, adding JDK environment variables in Control Panel, and then making sure whether or not JDK has been installed in your system to develop Android apps better.If you encounter a problem doing this, leave it in the comment below. Don't like Java or don't use it anymore? You can uninstall it:
ALSO READ: How to Uninstall Java in Windows 11/10