- Advantages Of Learning Java: Why Is JAVA Easier To Learn Than Other Programming Languages?
- Advantages Of Learning Java: What To Gain From JAVA Programming?
- Getting Your System Ready For JAVA: Installing The JAVA Development Kit (JDK)
- A Great Help For Creating JAVA Code: Advantages Of Using The Eclipse IDE For JAVA Development
- Download & Install Eclipse IDE For JAVA Development
- Eclipse Configuration For Start To Create JAVA Code
- First Lines Of JAVA Code With Eclipse (Hello World)
In this part we are going to cover the process of setting up your Eclipse for the first use of JAVA programming.
The following steps are:
- Download Eclipse
- Coverage of the Eclipse installation process
- Configuration of Workspace for first start
If you haven’t done so far, you need to have a JAVA JDK or JRE installed on your system to be able to use Eclipse, create and execute JAVA code. You can read a previous part of this series here that runs you through the JAVA JDK installation.
Now let’s get started!
The first thing we are going to do is download the newest Eclipse version. Because we are going to code some JAVA we’re going to download the “Eclipse IDE for Java Developers”. It can be found by visiting this link: https://www.eclipse.org/downloads/packages/
If you scroll down a bit you can find it here:
Choose your fitting OS and then start the download.
I’ve also tried out the “eclipse installer” which you will be lead to if you follow some other download links on the Eclipse website. But to download and install it the way I describe here is much faster and easier!
If you downloaded the file you can see that it’s a ZIP file. To complete our installation we simply need to move it where we want to leave it and that’s it. No further installation process. We can then simply start Eclipse.
Because I don’t want you to try out (and may be tempted to keep) your eclipse installation inside your download folder I would advise now the following steps:
- Move the Eclipse ZIP file to your desired installation folder destination, like for example C:\eclipse\
- Unzip the file inside this folder
- Navigate into the folder you just unzipped, so for example into: C:\eclipse\eclipse-java-2018-12-R-win32-x86_64\eclipse\
Here you’ll find a file structure like this:
- Execute eclipse.exe to start the application. You can also create a link to your desktop from here
- The first time you’re running Eclipse you will be asked about your workspace folder destination:
On a standard Windows OS I prefer to simply put it on C:\workspace\
The Eclipse workspace should be seen different to your eclipse application path. The application path we just visited shortly contains everything about the eclipse application. But the JAVA code we are going to create will always be saved separately from your Eclipse application. This creates some freedom for stuff like back-ups, exporting and importing codes or sharing. So you can theoretically work on different PC setups (which all have Eclipse installed) on the same JAVA code relatively easy.
You may also check the box at the down left “Use this as the default and do not ask again”, so that you don’t have to always see this screen when you start Eclipse.
That’s it! At least for the installation process of Eclipse… so to get Eclipse finally really started click on “Launch”. The loading screen (for the current version) should look like this:
In the next part of this series we will have a short look at some useful Eclipse setup configuration. This will all help us to create our first lines of JAVA code very soon.
I hope you could follow all steps. If you face any problems just leave a comment below. I’ll try to help you if I can.
This time I’m pretty sure that you can expect the next part sooner than I projected the last time 😉
Hope you liked it so far and hope to see you again in the next part!
GET INFSOSIONIZED BY SOME OF MY OTHER ARTICLES: