Setup Eclipse On Windows

5 minutes
Share the link to this page
Copied
  Completed
Learn how to setup the Eclipse IDE on Windows. 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 setting up the clips already for Java development. I'm doing some windows, I've got separate videos for line x and for Mac OSX. So feel free to check them out. And the first thing you want to do is go to any web browser. I'm going to be using Chrome, my favorite web browser currently and just Google and go to the eclipse website and go to here it says get Eclipse photon photon is just like the version name it might say something different depending on when you're watching this video. If it does, that's fine.

Just go to download you most likely 64 bit and then click Download again. It will download an executable. I've just cancelled it love already got it downloaded and installed click it is like a really simple installation process. Show you what you have to do to stop lavake already installed, it really is only one option that you really need to know about. And everything after that is pretty self explanatory. Okay, there's a few different, you know, Eclipse environments that you can install Eclipse already for Java developers, Eclipse ID for Java EE developers for c++ and you know, web, PHP or last up, all we need is the regular Java development, this one yt.

So click that. From here. You can choose an installation folder, I left your default, I'm actually going important Java dashboard on to for you know, just a full time and as you can see, it already exists because I've already installed it, you would just if you want to start menu entry, which I did, I chose not to have a desktop shortcut, click install, and that's really a box might pop up pop up asking for permission, just accept that and then you know, once it's installed, we will know The Eclipse ID, Java photon. So what we're going to quickly do now is just create a project, get it set up and running. And from there all the other videos in this series, you can use this project. So just leave the workspace at the moment as default to the workspace is where you can have a bunch of let's say common projects, and you can just, you know, open them up, test them see code all within the one Eclipse window so it's really really cool.

And just wait for this to load. And once this loads, it will create a simple Java project that you can use for all of the video like I said, and maximize it from here. Click Create a new Java project. And then name the project on is going to call it test Java. Use default location that's fine for the JRE Just leave that as whatever the default is leave everything else as default, we can just click Finish from here. And now we have a project right here.

So if we were to turn on this now, you're saying selection does not contain a main type. So we need to do is go to the src folder, right click it, go to new class. And here, let's name the class. I'm going to name it some systems. And Donnie, one other thing you want to do anything else leave as default, you want to change this public static void Main, make sure this is selected. So that's what that error was, you know moaning about is because you need a main method in your Java application, not zero, not to just one main method, and that's the main entry point.

So when your Java application is run, it tries to look for the main method. So click Finish. We have the file with class and with a you know, main method, if we were to, you know, run this now it ran successfully, let's just quickly you know, put like a little print in here. I'm going to cover this in a separate tutorial, but just quickly just to make sure it's all working well, so now if I click Run, I didn't see the console popped up, and it says, Hello world. So that's it. We have a Java project setup in the eclipse ID on Windows, like I said at the start of the video, if you want to use it on Mac or on Linux, feel free to check out the setup videos for that.

And we've also got a video showing you how you can use Java just online test online which is really, really cool. If you have any questions, feel free to Reach out. And as usual, thanks for watching, and I look forward to seeing you in the next awesome 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.