Hi, in this video we're going to show you how to install the tools required for running on your computer. This video should be viewed for Windows. Currently I'm using Windows 8 but all the steps of this tutorial will be the same for any Windows version. If you're integrating system [INAUDIBLE]. Anyway, this is part of the class website. Everything that is shown on this video is also explained on the tools setup page of the glass website. Mainly, we need to install three things. The first one is the JDK, the Java Development Kit, which is a random environmental, with programs are executed. This time, [INAUDIBLE], so we strongly recommend to use instead of java 7 and 6. The second one, it says which we will use for within your programs and submitting your assignment solutions to Coursera. Last but not least we need an ID that will help us to code in Scala. In this case, we're going to show you how to install IntelliJ idea. There are other options though you have Eclipse and Inside. Well, let us start by installing the JDK. Here there are three subsections for page operating system. Assume we're in windows, let's go to the last section. Windows usually doesn't come with a pre-installed JDK, so you haven't install it, donator. To install it you just have to follow this link, accept the license agreements, choose your architecture and then load the execute tool. This installer will wedge you through all the process to install the JDK successfully in your system. As we have already done so, to speed up the process, we're going to skip this step. So, we come back to the [INAUDIBLE] and we're going to install sbt. This course requires sbt version 0.13. To install 0.13, you just have to follow the instructions in the official website. You select Windows, and install with the MSI installer. This is the same as in the JDK installer. So just have to follow the steps, we have our own install list wiki as well. So now we need to come back, and we need to check that we have the right sbt and Java versions. So, we press home and type java about. In this window, we see that we have the right vision, because it's the eight. You have installed the seven or sixth please, install Java 8. Now, let's check. In order to check, we need to open the common prompts, before the same step as before, press home and type comment prompt or CMD. And now we execute SBT with a comment about. So as we have all thirteen. We are sure that we have the right version, so we need to install IntelliJ IDEA. Go go to the tutorial, and we need to follow these steps here. The first one is to download IntelliJ. In order to download IntelliJ, we need to go to the official website. Check that you have the Windows version and then download. In this case we're going to also escape this process because we have already installed it into VJ Idea. Now we need to install the Scala plugin. This plugin is key so that IntelliJ recognizes both SVT and the Scala files. Otherwise, it wouldn't be able to compile them. So let's open IntelliJ Idea. To restore the plug-ins, we go to configure and then plug-ins. This is a list of all the installed plug ins in our system to install a new one we press Install JetBrains plugin. And look for Scala. Usually there's a green button here that will tell you to install the plug in We have arranged all the plugins, so we don't need to. But, you will also need to restart the plugin or to restart IntelliJ once you've installed it. So, we close and we're going to create our first Scala project. We make sure that we select Scala and SBT. We named our project, and now we need to select the GDK that we're going to use. As there is no GDK selected by default we need to select the right one. So we go to Program Files, Java, and 1-8. And we also make sure we have theuuu all for team 8, and to 11-8 Now, intelliJ is and creating our SVT project. This is usually going to take some time. So now we only need to wait. As you see with this getting the to bootstrap itself. This is a process that usually happens the first time we use SPT. So now IntelliJ is indexing all the [INAUDIBLE]. And we need to wait until this is finished to compile but we can just create our work station right now. So we're going to play around with color washing. This is a feature that gives you a very interactive consort with a scala In order to create this you have to right click on this package. Select new and this color. We need a name. Let's say work. And now, anything we type in here is going to be combined by. And it's going to, well, we're going to see the output on the right side. If you are to think that is a, so let's just [SOUND] put here a word. Cool. So you see, and there is a hash out to make secular fist. And We see how the ripple of this color has interpreted this. Cool. So we see that our name and this type is a string. So now, let's do something slightly more complicated. Let's create our main program. Our first main program. So we're going to create this program inside the package example. And our class is going to be called example. And now we need to select here object because it's a single object. So to allow and to combine this as your main program. And you need to extend application. And anything we put in here, the body, it's going to be the main method of our program. So we're going to print a line, hello world. To run this program, you see there is a small icon here. So you click on it and you run the example, but you can also as well or write with coverage. So let's run it. Allow access and allow access. And yeah we see they are here. So now let's go back to the tutorial, snd we are on the step seven. You're going to open a SPT product. In this case we're going open the SPT product that we have just created. So, close the project. And we click import project. And we select our user, and Of our project. And our project. And be the file name. We just make sure that we are using [INAUDIBLE]. And press OK. These are the folders that IntelliJ has recognized in our project so, now we're going to modify [INAUDIBLE] In this case, we want a new dependency. This new dependency is going to be the. [SOUND] We come back to and Copy business. And you see we have a pop-up window here. This pop-up window means that [INAUDIBLE] it's asking us if we want to enable an import. This feature allows to run SBT every time and or any SBT file it changed. As we want this feature we Now we copy and past here. And we save to file. .sbt is now fetching our new dependency and adding it to the project. Yep. Close window. Yeah, we're ready to go. So now if you want to execute any SBT command and you don't want to leave the IntelliJ window, what you can do is you can press 12. So if you have a new terminal. And this terminal has product. So now we can type the key, snd put into what will have the- as we take online. And here we can execute the command. In this case, we are going to run the program from SVT. And this is the first we do this for the collaboration to eleven eight, it needs to compile the interface. And yeah. It works. So that's it this is the end of the tutorial, and now you're ready to use this color in the assignments. Good luck. [SOUND]