1 00:00:00,810 --> 00:00:03,120 ‫Instructor: Hi. Within this lecture 2 00:00:03,120 --> 00:00:05,610 ‫we are going to set our MacBooks 3 00:00:05,610 --> 00:00:09,990 ‫up in order to be prepared for Android development. 4 00:00:09,990 --> 00:00:12,360 ‫So if you're on Windows 5 00:00:12,360 --> 00:00:15,000 ‫you have already watched the previous section, 6 00:00:15,000 --> 00:00:17,190 ‫you're more than welcome to skip this one 7 00:00:17,190 --> 00:00:21,877 ‫because in this one we are going to focus on installing JDK. 8 00:00:23,010 --> 00:00:25,620 ‫That is Java Development Kit 9 00:00:25,620 --> 00:00:30,300 ‫and the other necessary tools in our MacBook. 10 00:00:30,300 --> 00:00:33,690 ‫Okay? So we're going to install two things actually. 11 00:00:33,690 --> 00:00:35,790 ‫One is JDK, as I've said before, 12 00:00:35,790 --> 00:00:38,280 ‫and the other one is Android Studio. 13 00:00:38,280 --> 00:00:40,560 ‫So these are the things that we need 14 00:00:40,560 --> 00:00:44,550 ‫in order to write Android code in our MacBooks. 15 00:00:44,550 --> 00:00:48,090 ‫So first of all, we are gonna start with JDK. 16 00:00:48,090 --> 00:00:51,570 ‫So open any browser like Safari, okay? 17 00:00:51,570 --> 00:00:54,000 ‫And go for google.com. 18 00:00:54,000 --> 00:00:56,790 ‫So if you go to google.com 19 00:00:56,790 --> 00:00:59,700 ‫you can just search for JDK download. 20 00:00:59,700 --> 00:01:04,350 ‫And again, this is Java Development Kit. 21 00:01:04,350 --> 00:01:07,267 ‫So it's a kit, it's a collection of software 22 00:01:07,267 --> 00:01:10,920 ‫that we need in order to write Java code 23 00:01:10,920 --> 00:01:15,270 ‫or in order to run Java things in our computer. 24 00:01:15,270 --> 00:01:18,750 ‫Okay? And it's very easy to download and install this. 25 00:01:18,750 --> 00:01:20,970 ‫All you need to do is just search it 26 00:01:20,970 --> 00:01:22,530 ‫and you will be presented 27 00:01:22,530 --> 00:01:27,530 ‫with this oracle.com website at the very first result. 28 00:01:28,770 --> 00:01:32,310 ‫So this will bring you to the oracle.com. 29 00:01:32,310 --> 00:01:35,730 ‫So Oracle actually provides Java to us 30 00:01:35,730 --> 00:01:39,120 ‫and you will see the latest version over here 31 00:01:39,120 --> 00:01:43,350 ‫which is Java 14 at the time that I'm recording this. 32 00:01:43,350 --> 00:01:44,610 ‫And if you see something 33 00:01:44,610 --> 00:01:49,610 ‫like Java 14.4546, it doesn't matter. 34 00:01:49,620 --> 00:01:53,310 ‫You're just gonna have to find the latest version. 35 00:01:53,310 --> 00:01:56,880 ‫So if anything changes code wise, of course I'm 36 00:01:56,880 --> 00:01:59,760 ‫going to update the remaining lectures as well. 37 00:01:59,760 --> 00:02:02,070 ‫But for right now, it will work fine. 38 00:02:02,070 --> 00:02:06,090 ‫Just find the latest version and download it. 39 00:02:06,090 --> 00:02:09,510 ‫I'm going to show you how to do that, don't worry. 40 00:02:09,510 --> 00:02:13,200 ‫But over here I'm just going to mention something minor 41 00:02:14,970 --> 00:02:19,970 ‫and it won't affect the MacBook users most probably 42 00:02:20,040 --> 00:02:22,080 ‫but it's better to know this. 43 00:02:22,080 --> 00:02:25,590 ‫So if you use a 32 bit computer 44 00:02:25,590 --> 00:02:29,132 ‫then you cannot install the latest version of Java 45 00:02:29,132 --> 00:02:32,850 ‫but you can install the Java8, okay? 46 00:02:32,850 --> 00:02:37,850 ‫But most Mac users don't even have 32 bits computers, 47 00:02:37,890 --> 00:02:42,390 ‫you're going to have to have a 64 bit computer. 48 00:02:42,390 --> 00:02:45,930 ‫So go for download JDK 49 00:02:45,930 --> 00:02:48,750 ‫and over here you will see a license update 50 00:02:48,750 --> 00:02:51,360 ‫which I will talk about in a minute. 51 00:02:51,360 --> 00:02:54,104 ‫However, we are going to download something 52 00:02:54,104 --> 00:02:58,770 ‫even though it's a small file, just let me start it first 53 00:02:58,770 --> 00:03:02,100 ‫and then I'm going to talk a little bit about this. 54 00:03:02,100 --> 00:03:06,150 ‫So find the Mac OS installer, this DMG file 55 00:03:06,150 --> 00:03:08,580 ‫and click on it and just say 56 00:03:08,580 --> 00:03:13,440 ‫I reviewed the license and start downloading it. 57 00:03:13,440 --> 00:03:15,720 ‫Of course, even though it's a small file 58 00:03:15,720 --> 00:03:17,820 ‫I have downloaded it before 59 00:03:17,820 --> 00:03:19,680 ‫so I'm going to cancel this one 60 00:03:19,680 --> 00:03:23,201 ‫but you're gonna have to wait for it to be installed. 61 00:03:23,201 --> 00:03:25,470 ‫Just come over here 62 00:03:25,470 --> 00:03:28,290 ‫and I will talk about this license a little bit. 63 00:03:28,290 --> 00:03:32,340 ‫So Java stated that if you are a corporation, 64 00:03:32,340 --> 00:03:35,100 ‫if you're a company, and if you're making products 65 00:03:35,100 --> 00:03:38,340 ‫with Java, and if you're making money out of that 66 00:03:38,340 --> 00:03:40,860 ‫you better get subscription from me. 67 00:03:40,860 --> 00:03:42,540 ‫So it's something like, 68 00:03:42,540 --> 00:03:47,340 ‫I believe 20 or 30 bucks, $30 annually. 69 00:03:47,340 --> 00:03:50,070 ‫However, you don't have to bother with that 70 00:03:50,070 --> 00:03:52,590 ‫if you're an individual developer, 71 00:03:52,590 --> 00:03:54,900 ‫if you're just trying to learn the Android, 72 00:03:54,900 --> 00:03:57,450 ‫or publish your individual apps. 73 00:03:57,450 --> 00:04:00,672 ‫You don't have to even bother with that because 74 00:04:00,672 --> 00:04:03,960 ‫eventually we're going to download the Android Studio 75 00:04:03,960 --> 00:04:08,250 ‫and it comes with its own JDK built in. 76 00:04:08,250 --> 00:04:13,250 ‫So, we really don't have to bother with this at all 77 00:04:13,560 --> 00:04:18,560 ‫but just bear in mind that if you find a company after that 78 00:04:18,960 --> 00:04:22,560 ‫and if you just start a corporation or a startup 79 00:04:22,560 --> 00:04:25,800 ‫maybe you can just come back here and subscribe 80 00:04:25,800 --> 00:04:29,943 ‫for that one, but you don't have to do that right now. 81 00:04:31,290 --> 00:04:33,000 ‫I'm going to close this 82 00:04:33,000 --> 00:04:36,060 ‫and I'm going to find the thing that I have downloaded. 83 00:04:36,060 --> 00:04:39,930 ‫So you can just either find it from here or there. 84 00:04:39,930 --> 00:04:44,040 ‫Just find the downloaded item in your computer. 85 00:04:44,040 --> 00:04:45,693 ‫I'm going to delete this. 86 00:04:46,920 --> 00:04:47,880 ‫And here you go. 87 00:04:47,880 --> 00:04:50,670 ‫This is the file that you should have. 88 00:04:50,670 --> 00:04:52,350 ‫I'm going to double click on this 89 00:04:52,350 --> 00:04:56,160 ‫and it will bring me the package file. 90 00:04:56,160 --> 00:04:58,980 ‫So you're going to see this package and just say 91 00:04:58,980 --> 00:05:01,380 ‫open by right clicking on it 92 00:05:01,380 --> 00:05:04,710 ‫and it will open this installation user for you. 93 00:05:04,710 --> 00:05:08,670 ‫All you have to do is just say, continue and install. 94 00:05:08,670 --> 00:05:10,790 ‫So it'll ask you for your permission 95 00:05:10,790 --> 00:05:15,450 ‫either with your fingerprint or your password 96 00:05:15,450 --> 00:05:18,030 ‫just give it and say close. 97 00:05:18,030 --> 00:05:19,290 ‫That's it. 98 00:05:19,290 --> 00:05:22,815 ‫That's how you install the JDK. 99 00:05:22,815 --> 00:05:25,290 ‫I'm going to close this one. 100 00:05:25,290 --> 00:05:29,640 ‫I'm going to say eject to this one, and in fact 101 00:05:29,640 --> 00:05:30,990 ‫we don't even need that. 102 00:05:30,990 --> 00:05:33,000 ‫So I'm going to delete this. 103 00:05:33,000 --> 00:05:36,930 ‫So that's how you download and install the JDK. 104 00:05:36,930 --> 00:05:38,190 ‫And next thing, 105 00:05:38,190 --> 00:05:41,460 ‫we need to install the Android Studio as well 106 00:05:41,460 --> 00:05:45,870 ‫so that we can get started with the Android development. 107 00:05:45,870 --> 00:05:48,033 ‫We're gonna do that in the next lecture.