1 00:00:00,832 --> 00:00:05,330 All right, so like we talked about, there are multiple JDKs available. 2 00:00:05,330 --> 00:00:08,350 We're going to install the official one from Oracle. 3 00:00:08,350 --> 00:00:12,130 Now, one thing we should talk about here, it is more than likely that this 4 00:00:12,130 --> 00:00:15,000 installation flow is going to change over time. 5 00:00:15,000 --> 00:00:18,320 Therefore, what I'm going to demo here will most likely be 6 00:00:18,320 --> 00:00:20,770 out of date by the time you're viewing this video. 7 00:00:20,770 --> 00:00:24,010 So, please don't be alarmed if things look different. 8 00:00:24,010 --> 00:00:27,480 I'm going to do my best to keep things updated in the teacher's notes. 9 00:00:27,480 --> 00:00:31,120 And if you find things confusingly different, please take it to the forum and 10 00:00:31,120 --> 00:00:32,350 we'll all get things sorted out. 11 00:00:34,000 --> 00:00:38,360 Okay, so in your favorite search engine, go ahead and search for Java JDK. 12 00:00:38,360 --> 00:00:41,530 Great, and there's the first hit here, and 13 00:00:41,530 --> 00:00:44,840 it's Java SE development kit 8 is what we are looking for. 14 00:00:45,900 --> 00:00:46,400 Click that. 15 00:00:47,640 --> 00:00:49,630 Page has a bunch of information on it. 16 00:00:49,630 --> 00:00:52,680 It's a little strange, but if you come down here a bit, 17 00:00:52,680 --> 00:00:56,340 you'll see the development kit and the current version is 8u45. 18 00:00:56,340 --> 00:00:59,610 Remember, it's probably gonna be different by the time you're watching this. 19 00:00:59,610 --> 00:01:04,710 So the way that this works, you have to choose this Accept License Agreement. 20 00:01:04,710 --> 00:01:05,890 So I'm gonna do that right now, and 21 00:01:05,890 --> 00:01:09,390 then I'm gonna choose I am running on a Mac currently. 22 00:01:09,390 --> 00:01:11,760 So you can see here, you can choose the different types. 23 00:01:11,760 --> 00:01:13,390 I'm gonna go ahead and click the Mac version. 24 00:01:13,390 --> 00:01:14,600 I'm gonna start that download. 25 00:01:14,600 --> 00:01:18,650 And while that's downloading, I'm gonna come over here and read what 26 00:01:18,650 --> 00:01:23,430 we just agreed to, so this Oracle binary code license agreement for Java SE. 27 00:01:24,560 --> 00:01:28,690 Okay, so it says, Oracle America Incorporated for on and all we have. 28 00:01:28,690 --> 00:01:29,420 No, I'm just kidding. 29 00:01:29,420 --> 00:01:31,800 Wouldn't that be horrible if I sat here and read that? 30 00:01:31,800 --> 00:01:33,110 But, seriously you should read this all. 31 00:01:33,110 --> 00:01:34,040 It's pretty short. 32 00:01:34,040 --> 00:01:35,830 It's not that bad. 33 00:01:35,830 --> 00:01:38,925 One thing that we can we could talk about here while this is downloading, 34 00:01:38,925 --> 00:01:42,324 is the fact that there are two different types of Windows here that are available 35 00:01:42,324 --> 00:01:43,405 for Microsoft Windows. 36 00:01:43,405 --> 00:01:46,525 So if you don't know if you're running the 64 bit or not, go ahead and 37 00:01:46,525 --> 00:01:47,825 check in the teacher's notes, and 38 00:01:47,825 --> 00:01:51,045 I have helped you be able to figure out which version you're running. 39 00:01:51,045 --> 00:01:53,015 That is, of course, if you're running Windows. 40 00:01:53,015 --> 00:01:55,045 Okay, I'll pop right back when this is done downloading. 41 00:01:56,070 --> 00:01:59,570 Okay, so that download finished, and I went and followed the instructions in 42 00:01:59,570 --> 00:02:04,705 the teacher's notes of this video, and made sure that I installed things. 43 00:02:04,705 --> 00:02:06,990 So things have been installed correctly. 44 00:02:06,990 --> 00:02:09,260 I'm gonna make sure that they have been installed, and 45 00:02:09,260 --> 00:02:12,050 I'm gonna do that by opening up a terminal. 46 00:02:12,050 --> 00:02:14,560 Mac's and Windows have different ways of getting to the terminals. 47 00:02:14,560 --> 00:02:17,099 And since I'm on a Mac, I'm gonna press Cmd+Space and 48 00:02:17,099 --> 00:02:18,730 I'm gonna type the word Terminal. 49 00:02:18,730 --> 00:02:25,456 I'm gonna press Enter, and that's gonna open up a terminal. 50 00:02:25,456 --> 00:02:26,790 Great. 51 00:02:26,790 --> 00:02:31,690 If I was on Windows, I would press Windows key R, and then I'd type powershell, and 52 00:02:31,690 --> 00:02:33,190 it would open up a new terminal over there. 53 00:02:34,340 --> 00:02:37,130 So since Java's now been added to our path, 54 00:02:37,130 --> 00:02:41,476 I should be able to type java -version. 55 00:02:41,476 --> 00:02:45,610 And it will return back the version that I just installed. 56 00:02:45,610 --> 00:02:48,200 And again, remember your version number here might look different. 57 00:02:49,210 --> 00:02:52,410 If you don't get this, try re-opening up a terminal again, 58 00:02:52,410 --> 00:02:56,640 and if that doesn't work, there's most likely something wrong with your path. 59 00:02:56,640 --> 00:02:58,840 Check out the teacher's notes for help. 60 00:02:58,840 --> 00:03:02,030 Congrats, we now have Java installed. 61 00:03:02,030 --> 00:03:06,600 Now in order to pass the next exercise, which wraps up this portion of the course, 62 00:03:06,600 --> 00:03:10,270 simply copy these results and paste them into the challenge. 63 00:03:10,270 --> 00:03:13,400 Here, I'm gonna copy it and show you, and then I'll see you in the next video. 64 00:03:13,400 --> 00:03:14,010 So I'm gonna highlight. 65 00:03:16,170 --> 00:03:19,760 I'm gonna right-click, and then choose Copy. 66 00:03:19,760 --> 00:03:21,840 And I'm gonna paste that into the exercise. 67 00:03:21,840 --> 00:03:23,200 So see you in a bit.