 Hi everyone, in this video we're going to do a fresh install of Java and Eclipse and we'll also see if you have an obsolete version of Java residing somewhere on your computer, how it affects importing projects which are created with the later version of Java and how to fix that problem. So the first thing is just search for Java SE which is Java Standard Edition. If we take you to Oracle's website, where you click on JDK download and choose the right version based on your operating system. Now I've already done that on my computer and it's JDK 14.0.2 OSX 64 bits. Double click on that to install and double click on the package and agree and if required enter a password admin password and successfully installed. You can go to the terminal and check Java iPhone version and it says Java version is 14.0.2 so we have successfully installed it. You can also display Java Home which is an environment variable and shows you that it's library, Java and so on. You can go to that directory and you see that I've got two JDK versions, JDK 9 which is like 1.9 and JDK 14. So now that our Java has been installed, again search on Google for Eclipse IDE or just Eclipse. If you take to Eclipse's website over there you can choose download. You can go to download packages if you want or you can just download the installer. I've already done that and I have it in Eclipse installer max 64. We double click on that and open it. It will ask you which Eclipse you want to install and the correct one is Eclipse IDE for Java developers. It will ask you which Java virtual machine is it that you want to choose as default. So please choose the latest one. All right we install it. In COM 10.10 you have a link for teaching resources and complete set of source quotes. I've already downloaded this file in here. So I go to Eclipse, I choose my workspace, go dummy and click on workbench to go to the project area. I then click on import projects, general, existing projects, select archive file and choose the zip file that I've downloaded. It will have a tick mark against the project and you finish and when you open the project you'll see a long list. You can click on these three dots and choose hierarchical package presentation which makes it much easier to navigate. Go to practice package, introduction, tests, attempts and just run the entire tests attempts package as junit test. You'll see that all 33 tests run there are no errors which is a good thing but there are 33 failures which is fine because we haven't completed any of the methods. If you go to attempts stage one public int square int n return zero to be completed. This function or method expects we expect this function to return the square of n so we write n times n. We go back to tests attempts and run this and now you can see there are 32 failures because one of the tests passes. If you go to the correct test file and double click on test square only and run it it will isolate that method and just run that method. Similarly if you double click on the test file and run this it will run the entire test file. So I can select all and run this and it runs the entire test file. So there was a fresh installation of Java and Eclipse but let's see what happens when you don't have you have an obsolete version of Java and you try to install Eclipse. So I'm gonna get rid of my Java and I'm going to delete everything and I will remove JDK 14. So now I've got only JDK if I check Java iPhone version it's Java 9 only. So without installing the fresh Java which is Java 14 we will install Eclipse again. I could have just used the previous Eclipse but yeah whatever. So again we install Eclipse. Eclipse ID for Java developers now the only one remaining is JDK 9 we install and launch and choose dummy 2. Again workbench import projects general existing projects select archive file and in downloads we are looking for the zip file download. Okay so the project's still there but you see that when we finish it there is a red exclamation because the project was created with a later version of Java and uses uh functionalities which are not provided in Java 9. So how do we fix that? Okay so if you have this problem you can go back and again search for Java SE. Java SE install the fresh version of Java as done before and that's your JDK 14 double click continue install install succeeded check if it has been installed correctly Java version Java 14 but the problem is our project is still bound to Java 9. So you can double click on the project build path configure build path. We double click on libraries and it says jre system library java SE we edit alternate jre 9.04 but because it has still not clicked in that we've installed Java 14 we search and it can find JDK 14. So here you would like to go to Java 14 contents and home you can give it a name JDK 14 and choose JDK 14 apply and close and JDK 14 finish apply and close and it's there. You might have a lot of exclamation signs yellow exclamation signs but that is fine yellow exclamation means that there are some things in the programs that it's not using so for example I'm never using the random class which is fine I can go to practice package introduction tests attempts and run this as j unit test and it runs successfully although there are 33 frames. So that's how you do a fresh install of Java in Eclipse and also what happens in case you have an existing Java residing on your computer. Thank you.