G-day g’day, Tim Buchalka, the Aussie Android Dev Guy. Today’s video is all about setting up the Java Development Kit for a Windows machine. Let’s get to it.

The best way to get up to speed is to watch the video on this page.

If you click the youtube logo at the bottom right of the video you can watch this video on Youtube in the proper size.

click-the-youtube-logo

 

Downloading The Installer

Now open up a web browser. Now you’re going to do a search for ‘download JDK 8 windows’ and click on the first option that comes up, provided it’s from Oracle.com. Click on that. Now just scroll down, you need to make sure it says Java Development Kit. You then need to decide whether you need the 32-bit version of the Java JDK or the 64-bit. So, lets assume you’re going to select the 64-bit, because that’s what you have on your system. But, before you do that, you need to click on ‘Accept License Agreement’. And then you can click on the link and download it. Now, you’re going to save that to a directory. And then of course you’re then going to execute it once it’s finished downloading.

jdk-installer-for-windows

Installing The JDK

Once it’s done downloading go to the folder where it was. And, you’re going to double-click that. And, click on ‘Yes’ to running it. Click on ‘Next’. And leave all the optional features to default, noting as well the folder location down below the window, because you may need that info in a later video. The ‘Program Files/Java/jdk1.8….”.

jdk-installer-setup

Then click on ‘Next >’. And, you’ll let it go through and finish installing. Then, once this is installed, the only other step you need to do in this video is, you’re going to open a command line window, and you are going to type in a command to make sure that you see this version of Java, that you’ve just downloaded.

Installing The JRE

Once the initial installation is done click on ‘Next >’ when the Destination Folder appears on the installer window for the Java Runtime Edition as opposed to the Development Kit. Same thing though, you’re going to let that install just using the default options. Ok, when it finishes installing the JRE, you’re now done, so just click on ‘Close’ to close the installer.

jre-setup

Checking Java

So that last thing I’m going to suggest you do is click on the ‘Windows’ button. Type in the little window box there, the field type command ‘cmd’. Press ‘Enter’. That will bring you up to the command terminal window. And then type in java space the minus and the word version. So ‘java -version’ then press ‘Enter’. And you should see on the screen, it’ll say something like Java version 1.8.0_25. Now those numbers may be higher if you’ve run this at some point in time and a new version of Java has come out. However, if you’ve got version 1.7, I do recommend you upgrade to version 1.8. And at this point, we can now proceed onto the next video.

java-development-kit-check-windows

And, that’s a wrap. We’re now done and dusted. We’ve got our Java Development Kit installed and configured.

Please subscribe to my YouTube channel, to be able to keep up to date with the latest videos on app development for Android and games development as and when I release them.

Now speaking of content, please also leave some comments below the post. Let me know what you thought of the video, but also now perhaps more importantly what you’d like me to cover in future videos. Because I want to be the #1 premium resource for you for Android development tips, tricks, tutorials, and so forth.

But in order to do that, I need some feedback from you to know what you want me to cover in future videos, so please do that.

Tim’s Android Development Course

My course contains over Twenty-five (25)  hours of video training. With more being added regularly.
Teaching you, whether you’re a beginner at coding, or more experienced how to be a great Android app developer.  A fraction under 11,000  students have already taken my course and more are joining everyday.   I’d love to see you in there so come and check out what all the fuss is about!

Click here to access my Android Development course

All the best!

Cheers
Tim