BreadcrumbsHome / JSF Tutorial #7: JavaServer Faces Tutorial (JSF 2.2) – Install Eclipse on Mac OS X
JSF Tutorial #7: JavaServer Faces Tutorial (JSF 2.2) – Install Eclipse on Mac OS X
Last Updated on Saturday, 16 May 2015 Written by Chad Darby Saturday, 16 May 2015
In this video, I will show you how to install Eclipse on Mac OS X.
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:
Hey, welcome back to the JSF tutorial. In this video, I’m going to show you how to install Eclipse on the Mac. In particular, we are going to install the Java EE version of Eclipse, because that has built-in support for JSF. Okay, let’s go ahead and get started.
All right, so the first thing we need to do is download Eclipse. In our browser, we will just visit Eclipse.org. This will bring us to the Eclipse website, and over on the far right is a download button. Let’s go ahead and click on that button, and this will take us to the download page. All right, so now we are at the download page. Let’s scroll down a bit, and we want to make use of the Eclipse IDE for Java EE developers. It’s really important. Java EE version. The Java EE version has built-in support for JSF.
Let’s go ahead and click on the download link here. I’m using a Mac right now, so I will download that version. That will take us to the download page. I will go ahead and click the option here for the download mirror. The browser will prompt me to download the file. I’ll go ahead and hit okay. Then we will start downloading it to our system. This will take a while, so what I’ll do is I’ll kind of step away, and I’ll come back once the download is complete.
All right, so we have downloaded the file. Now what we need to do is unzip Eclipse. The first thing I do is I’ll move into the downloads directory, and there’s the file that we just downloaded, the Eclipse Java EE. I’ll go ahead and double-click this file to unzip it. All right. Now what I’d like to do, now that this file is unzipped … what I’d like to do is move it to my JSF for Beginners folder that I created in a previous video. Let me go ahead and open up a new Finder window here. Just resize the windows. Give me one second.
At the bottom, I have my JSF for Beginners. That’s the one that we created in our previous Mac video. I will go ahead and double-click in there. That’s where we installed our Tomcat from the previous video. I’ll take this Eclipse folder that I just unzipped, and I’ll move it down to that JSF for Beginners folder. Again, this JSF for Beginners folder is just a little scratch sample folder that we are going to use for our JSF class, just to keep everything in one location. Good, we just simply move that from downloads over to our JSF for Beginners. Good job.
All right, so now that we have the file in our JSF for Beginners directory, let’s go ahead and run Eclipse. I will simply select the Eclipse icon in this Eclipse folder, and I will just double-click it, and this will start up Eclipse for me. I will go ahead and hit open to start it to run. Then they are going to prompt me for a workspace. A workspace is simply a folder where we put our sample code. Normally, I would keep the defaults, but in this example, I’m going to change it. I’m going to click on browse, and I’ll move over to this JSF for Beginners directory, and then in the bottom left, I’m going to click on that button there for a new folder. For new folder, I’ll just type in the name of “workspace.” I’ll create a new workspace folder here in JSF for Beginners.
Hit okay, and so this what the layout should look like once we have that setup. Again, you can put your workspace anywhere you like, but I’m just putting it here in this one directory, just so it keeps track of everything else for this JSF for Beginners class. All right, so once I’m happy with that, I go ahead and hit on okay. Eclipse will start running, and then I’ll make it to the welcome screen. I always like to verify that I’m using the Java EE version of Eclipse because it has built-in support for JSF. I go ahead and close this welcome. Over on the left-hand side, I have my project explorer. Right now, it’s empty. Nothing’s there.
That’s it. At this point, we have Eclipse installed, and we’re able to run it. Everything looks really good. Good job so far. All right so this wraps up the video. In this video, I showed you how to install Eclipse on the Mac. I also showed you how to download the file, unzip it, and then launch Eclipse.