Setup Eclipse On Mac OS X

5 minutes
Share the link to this page
Copied
  Completed
Learn how to setup the Eclipse IDE on Mac OS X. Eclipse is an integrated development environment(IDE) used in computer programming, and is the most widely used Java IDE.

Transcript

Hello, in this video we are going to cover the setup process for Java using the eclipse ID on a Mac. If you're interested on other platforms such as Windows, feel free to check out those videos. Okay, so the first thing you want to do is download Eclipse. Go to your web browser, Google Eclipse, and go to website and go to get Eclipse full time. It might not be called full time depending on when you're actually watching this video. photon install like the version name is different.

That's fine. Just click Download click down again. I'm going to cancel it simply because I've already got it downloaded. And if I'll get rid of that, you'll get this compressed file, double click it, extract an installer for you double click that click open The installation process is extremely simple. So there's a few different options, clips ID for Java developers, Eclipse ID for Java, ee developers, c++, web developers, etc. for what we're gonna need.

All we needed the clips ID for Java developers. So select that, From here, select the installation folder, or levy as default, I've already installed it. So you would actually be like that, and hence why I'm getting Sarah that it already exists. Because I've already installed here, we just click install, go for the general process of installing as you normally would. And once you're done, just launch it up. So it will be in your, your user directory, and you'll be right here.

And what I actually did well, I right clicked make a list and I put that into the application folder which is Right here, benefit of that it means it's searchable very easily from your Launchpad. So if I open that and we'll just quickly create a project, get it running, and we'll be able to use that for our tutorials. So workspace Yeah, just leave that as default click Launch. Okay, so go to create a new Java project. And from here, the only thing that we did say is the project name on the Polish tutorial and click Finish. He leave everything else as default.

So, with your workspace if there are other projects that will create a net they will appear in the package explorer. Laura. And on the left here we have packs explorer basically projects at the bottom, we have three console your debug area on the right. Once we create some classes and select them, we'll see the methods over here. And we'll have the main part where we can code right here. And if we were to right click, and let's run this, it won't run.

The Scene Selection does not contain any type. Specific, more specifically doesn't have a class and a class that has a main method to do to add that right click the src folder, go to new class. From here, just name your class and then name it. So no comms. Leave everything else as default. The only thing you want to change here is this.

Which method stubs Would you like to create? Select the first one public static, void main and remembering moaning bait, some sort of main and this main method is the entry point to your application. All Java applications need a main method, only one not less than one, not more than one, just one. And this only do this when you're creating the first class or the setup for your project. subsequent classes won't need this. So click Finish.

There you go. And if we right click and run it now, or we can just select it from here. I didn't see if successful, nothing prints out. Let's just do a simple no print line system. dot out dot print ln. And if we put let's say, Hello World.

Let's run it. Hello world get printed out. And it is that simple to set up a Java project in Eclipse. Thanks for watching. If you have any questions, feel free to reach out And unusual. I look forward to seeing you in the next awesome Java video.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.