Instructor: Hey, welcome back to the JSF tutorial.
In this video, I'm gonna show you
how to install Eclipse on the Mac.
In particular, we're gonna 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.
So in our browser, we'll just visit eclipse.org.
This'll bring us to the eclipse website,
and over on the far right is the download button.
Let's go and click on that button,
and this'll take us to the download page.
All right, so now we're at the download page,
let's scroll down a bit, and we wanna make use
of the Eclipse IDE for Java EE Developers.
So it's really important, Java EE version.
The Java EE version has built-in support for JSF.
So let's go ahead and click on the download link here.
I'm using a Mac right now, so I'll download that version.
This'll take us to the download page.
I'll go ahead and click the option here
for the download mirror.
The browser will prompt me to down the file.
I'll go ahead and hit OK,
and then we'll start downloading it to our system.
Now, 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've downloaded the file.
Now what we need to do is unzip Eclipse.
So the first thing I'll do is I'll move
into the Downloads directory.
And there's the file that we just downloaded,
the Eclipse Java EE.
And I'll go ahead and double-click this file to unzip it.
All right, so 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.
So let me go ahead and open up a new Finder window here.
This will resize the windows.
Give me one second.
So at the bottom I have my jsf-for-beginners.
That's the one we created in our previous Mac video.
I'll go ahead and double-click in there.
And that's where we installed our Tomcat
from the previous video.
I'll take this eclipse folder that just unzipped,
and I'll move it down to that jsf-for-beginners folder.
Again, this jsf-for-beginners folder's just a little scratch
sample folder that were gonna used for our JSF class,
just to keep everything in one location.
But 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.
So I'll simply select the Eclipse icon
in this Eclipse folder, and I'll just double-click it.
And this'll start up Eclipse for me.
So I'll go ahead and hit open to start it to run.
And then they're gonna prompt me for a workspace.
So a workspace is simply a folder
where we put our sample code.
Normally, I would keep the defaults,
but in this example, I'm gonna change it.
So I'm gonna click on Browse.
And I'll move over to this jsf-for-beginners directory,
and then in the bottom left, I'm gonna click
on that button there for a new folder.
And for new folder, I'll just type in the name of workspace.
So I'll create a new workspace folder
here in jsf-for-beginners.
I'll hit OK, and so this is what the layout should look like
once we have that set up.
So 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 OK.
Eclipse'll start running, and then I'll make it
to the welcome screen.
I always like the verify that I'm using the Java EE version
of Eclipse, because it has built-in support for JSF.
I might 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.
So that's it.
So at this point, we have Eclipse installed.
And we're able to run it,
and 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 should have to download the file, unzip it,
and then launch Eclipse.