Welcome to the first hands-on exercise. This exercise will be regarding the installation and setup of your own Workspace. Let me first tell you about prerequisites. If you already have Java 7 or above and Eclipse IDE for Java, you may skip this part. This part is mainly for Window users, Mac and Linux users, to search for other ways to download and install the prerequisites. Any general installation method should work. Let me first talk about Java. Either you will download JDK or JRE. So I assume that you already have Java installed on your machine. If not, then installing the latest version of Java, which is Java 8, you can download from http://www.oracle.com/technetwork/java/ja- vase/downloads. Once you click on the download link above the Java platform, after downloading you simply follow the execution procedure. So you click on the Next button and so on and so forth. This will automatically download your JRE first and then download KDK right after. So as I said, I assume that you have Java 8 installed on your machine. So let me talk about Eclipse IDE. In this class you will use Eclipse as the editor, where you'll write and edit your Java code. Any version of Eclipse after Luna should work. To install Eclipse ID, you need to download the gif file containing the Eclipse program founded in this link which is www.eclipse.org/downloads, let me. Www.eclipse.org and there it is, By clicking one button. So here you should directly type in eclipse.org/downloads. And you see this one then. If your computer is 64-bits Window version then you should download the first one, download 64-bit. And following, if you want to search other projects then you get another version of Eclipse ID on this download. I recommend you to use the latest one. Once you download Eclipse IDE, you need to unzip the downloaded Eclipse. In my case, let me show you where my Eclipse packet is downloaded. It's under C, and I used to have Eclipse.gif file and then I unzip it into my C drive. And if you click on Eclipse and you have those files and folders. What you need to do, either can copy Eclipse and paste onto desktop or simply come to here and then double-click on Eclipse icon. What it comes to happen is, once you double-click on Eclipse icon it brings out Eclipse like this. By assuming that when you see that you know the big Eclipse icon that means your Java JBK 1.8 or JRD 1.8 installed successfully. If you don't see that big icon that there is some kind of problems you have to fix. I assume that you have the Java installation problem. So let me tell you about this box. This is a Workspace launcher box. You can simply set it wherever you set your Workspace. In my case I set it under my desktop, Coursera subfolder and then there is a Workspace subfolder. So once you set your Workspace PES and then you simply click on OK button. And it takes some time and it brings out the Eclipse homepage like this. This is the ID homepage. So this is a workbench sort of welcoming page. What you need to do is, you need to create your first Eclipse project. So my assumption is your first Eclipse project is yTextMiner. So yTextMiner, I assume that you download it from, you download the yTextMiner zip file from Coursera homepage. The size is very big because some of the libraries used in this project is really big. Thus, it is more molder it takes time. Once the file fully downloaded, you must unzip the file that a file contains the project folder. And simply you move this folder to your workspace location. So let me accept this Eclipse and then, Let me go back to my project folder. This is my project folder. So assuming that you have yTextMiner.gif file and you unzip it so that you have yTextMinerr folder here, so this is project yTextMiner. Then what you need to do is simply just copy this, okay. You copy it. Then you click on your workspace and simply you paste them. So as you see, it's about less than 700 megabytes. Most of the space is taken by third-party libraries, like Stanford models and Java file. So it's about 2,128 files, including Java files, model files, data files, and so on and so forth. Once this process is finished, then okay, so you have yTextMiner here under Workspace. Go back to your Eclipse folder and then double-click on Eclipse as you select the same Workspace folder. Okay, now what you need to do is you click on File option from menu, then click on New and there are various projects here. What you need to do is, you need to select Java project. If you don't see Java project, then you should select Other. When there is a Java project, you select Java project and click on Next. And here, what you need to do is you need to type the project name. The project name is y-T-e-x-t-M-i-n-e-r. So you need to type yTextMiner with case sensitive into project name. So yTextMiner. Now you see here Java 1.8, that's a different JDK version. And you don't have to change but if your computer workspace has Java 1.7 as a default, then you need to change it to Java 1.8. You shouldn't change any other configuration, you simply click on Finish. And it says, if this kind of project is associated with the Java perspective. Of course, this is true, then you should click on Yes. Okay, so let me remove our welcome message and then the left bar you have yTextMiner. Okay, this is actually explore, you have a yTextMiner and then you have a little radio button here, the video radio button. So if you click on once, it then shrink the tree. If you click on again, and then it expands the tree. Okay, so far, so good. Now we want to make sure whether yTextMiner works properly or not. So let me run one simple test. I'm going to talk about yTextMiner pack is more detail in that lab session. So let's make sure that our package works okay. So let me click on, double-click on TopicMain.java. It's under edu.yonsei.test.main package. Assuming that I mean, it's a very simply test program. It only has one function called Main Function. And you need to have New York Times news articles in this path, which is under data, corpus, and the file. So where is data? Data is your project folder. If you click on left radio button and expand the tree, then there is a corpus, then there is a NY Times news article, a txt. So here, this is a PES. If you don't have, if the PES doesn't start with backslash, that means that your project is a root folder, okay. So let me run this test program, topic being the Java. There are several ways you can run this program. The 54th one is right-click on, if you want to run Topic Main.java, and right-click on Topic Main.java and it pops up the one small window. And then you select “Run as” which is right In the middle, below middle of that pop-up window, and you select Java application. And then down this panel you'll see a console, and the console has this login message spits out. And you see this running the program that prints out the intermediate messages about creating topics for New York Times news articles. Since it may take time I'm going to kill the execution. What you need to do is simply, you click on this rectangle or square icon on upper right corner of Workspace. So let me click on this, and then it turns into create, which means execution is done. You simply exit the execution. All right, if you can follow up to the point where I just finished, then you are successful in terms of downloading yTextMiner, creating Eclipse project, and then running simple test program. Congratulations.