BreadcrumbsHome / JSF Tutorial #6: JavaServer Faces Tutorial (JSF 2.2) – Install Eclipse on MS Windows
JSF Tutorial #6: JavaServer Faces Tutorial (JSF 2.2) – Install Eclipse on MS Windows
Last Updated on Saturday, 16 May 2015 Written by Chad Darby Monday, 11 May 2015
In this video, I will show you how to install Eclipse on MS Windows.
Please SUBSCRIBE to my YouTube channel.
Do You Need More Details?
- Do you need to connect to a database?
- Display SQL results in a HTML table?
- Perform SQL insert, updates and deletes?
- Database Integration with JDBC
- Displaying Data in Lists and Tables
- Validating HTML Forms
- Implementing Business Logic with Managed Beans
- Deploying applications with WAR Files
Follow luv2code with the links below:
JSF Tutorial Transcript:
Hi. Welcome back to the JSF tutorial. In this video, I’m going to show you how to install Eclipse on a Microsoft Windows. In particular, we’re going to install the Java EE Version of Eclipse because that has built-in support for JSF. All right, let’s go ahead and get started.
All right, so the first thing we need to is we need to download Eclipse. What we’re going to do is go to the website, eclipse.org, and I’ll enter this down in my URL bar. I’m at the Eclipse website. Over in the far right is a download button. Go ahead and click this button to get to the downloads page. Then what we’ll do is we’ll kind of scroll down a little bit and we’ll move to the Java EE Version of Eclipse. Again, it’s very important that we scroll down and make use of the Eclipse IDE for Jave EE Developers.
All right, so that’s the important one here because this version has built-in for Java Server Faces or JSF, so you want to make sure you download the right version. Eclipse IDE for Jave EE Developers. Some are using Windows 8 here, so I’ll choose the Windows 64-bit version. I’ll hit download. I’ll go ahead and make it to this page here, I’ll do the download link, and then my browser will start downloading the file on the bottom left. All right, so this will take a while and I’ll come back once the download is complete.
All right. Great. Now, we have the file downloaded. Now, we need to unzip Eclipse. What I’ll do is I’ll open up my window here, I’ll move to the downloads directory and I’ll see this zip file that’s been downloaded by my browser. What I’ll do is I’ll simply just right click on it, and I’ll say extract, and I’ll extract it to this current directory here and I’ll just hit okay. Now, it will let you go to the process of extracting the file. Again, this will take a bit, I’ll come back.
All right. Now, the extraction is complete, we have a new folder here for Eclipse, I’ll go ahead and open this folder. What I’d like to do is actually open up a new window and I’ll place … And let me just resize the windows here for a second, give me a bit. All right, so in the bottom window, what I’m going to do on this computer on the C drive of this computer, I’m going to create a directory for my training class, jsf-for-beginners. On the C drive, I’ll just open up a new folder or create a new folder called the jsf-for-beginners. This is where we’re just going to place all of our things that we’ll use for this training class. Just a new scratch temp folder, just to keep everything in one location.
I have this new folder jsf-for-beginners. Now, what I’ll do is I’ll copy or actually move the Eclipse folder down to this jsf-for-beginners. Again, so I’m just moving it from that one downloads directory and moving it into this new directory I created called jsf-for-beginners. This will have the actual Eclipse files inside of it. All right, so now that we have Eclipse extracted, let’s go ahead and run Eclipse. The little icon here for Eclipse, the purple icon, just go ahead and double click that, it run, and it will start up Eclipse.
The first thing it will do, is it will prompt you for workspace. Workspace is just basically a folder where you’ll store your files for your projects. Just go ahead and accept the default and hit okay. All right, so then once Eclipse starts up you’ll see the welcome page. One thing I always like to verify is that we’re making sure we’re using Eclipse Java EE. Then we can go ahead and close this window, and now we’re at just the main Eclipse page. We have our project explorer over at the left-hand side. At the bottom we have our servers tab. Right now, we don’t have any servers installed, but we’ll take care of that in the next video. That’s it.
At this point, if you can get Eclipse running, you know that you’ve downloaded and installed Eclipse correctly, so good job. In the following videos I’ll show you how to hook up Tomcat to run in the Eclipse environment, but this is very good for now. All right, so this wraps up the video. In this video I showed you how to install Eclipse on Microsoft Windows. I showed you how to download the file, unzip it and then launch Eclipse.