1. Home
  2. Training Library
  3. Programming
  4. Programming Courses
  5. Introduction to Java and Environment Setup

Eclipse Installation

Start course
Overview
Difficulty
Beginner
Duration
56m
Students
67
Ratings
5/5
starstarstarstarstar
Description

In this course, we learn about Java technology and get you started with writing and running a Java program. 

Learning Objectives

  • What is the Java programming language?
  • Java Development Kit (JDK)
  • Java Runtime Environment (JRE)
  • Java Virtual Machine (JVM)
  • Integrated Development Environment (IDE)
  • Installation of Eclipse
  • Write a Java program
  • compile and run a Java program

Intended Audience

  • Anyone looking to get Oracle Java Certification
  • Those who want to learn the Java Programming language from scratch
  • Java developers who want to increase their knowledge
  • Beginners with no previous coding experience in Java programming
  • Those who want to learn tips and tricks in Oracle Certified Associate – Java SE 8 Programmer certification exams

Prerequisites

  • No prior knowledge is required about the Java programming language
  • Basic computer knowledge
Transcript

Hi there. In this video, we will download and run the Eclipse. The Eclipse is famous for our Java Integrated Development Environment (IDE). Eclipse is a powerful and advanced text editor with a lot of plug-ins and tools. With Eclipse, you can write your Java programs much faster and execute them with a push of a button. Also, the plug-in architecture gives you the ability to constantly add the development tools you need. Also, there are lots of features in Eclipse. If you want to learn more, check out the official Eclipse help documents.

Installing Eclipse is pretty easy. If you don't have Java JDK installed on your computer already, please first install it now. We're going to install Eclipse on Windows operating system. If you're a Linux or Mac user, don't worry about it because there is no difficulty. You can follow similar instructions on the Eclipse website to install Eclipse on Linux or Mac as well. Now, if you're ready, let's start the download of the Eclipse. First, we open our web browser. I use Google Chrome but you can use any browser you want. Now, let's write the "eclipse" in the search bar and press the 'ENTER' key on the keyboard. On the search result page, we choose the "Download" link.

On this page, we choose the proper link according to our operating system and type. My system type is Windows 64-bit. So, I'm choosing the "Download x86_64" link. If your system type is 32-bit, you have to download the 32-bit version. On this page, we choose "Download" again. As you can see, the download has started. Eclipse installer is a new and more efficient way to install Eclipse. It is a proper installer, no zip files with a self-extracting download that leads you through the installation process. And the download may take some time depending on your Internet speed. Therefore, I'm stopping the screen recording here and when the download is complete, we will continue where we left off.

Yes guys, the download is complete. I click on the "Arrow" icon right here and select the "Show in folder" option so we can see the file we downloaded. Let's double click this file. Here, the Windows operating system can give a warning such as, "Do you want to run this file?" If the publisher is the Eclipse foundation, you are good to select "Run." This warning may not appear for you, not important. Thus, the setup screen was opened. The new Eclipse installer shows the package available to Eclipse users. We can search for the package you want to install or scroll through the list. 

We choose Eclipse IDE for Java developers from the list. Specify the folder where we want Eclipse to be installed. The default folder will be in our user directory. We select the "INSTALL" button to begin the installation. It takes a while according to network speed and system performance. In the installation process, the installation has created a window with the title, "Do you trust these certificates or accept Foundation License Agreement?" Select the certificate in the window and press the "Accept"

selected button to go on. Once the installation is complete, we can now launch Eclipse. Now, we have to choose a workspace for our projects. A workspace is a folder on your hard drive where Eclipse stores your Java projects. I advise you to create a folder, JavaProjects on your disk. So, I'm creating it quickly. I choose this folder in my User folder. During this course, our projects and source files will be stored in this workspace. So, that's it. We have successfully installed Eclipse on the system.

You will see a Welcome screen with links to guides and help materials. You may read some of them or just close the screen for now. Before closing, if you don't want to see the Welcome screen at startup, uncheck the "Always show Welcome at start up" option. Okay, close the Welcome screen. You see Package Explorer on the left side of the screen. The Package Explorer view allows you to browse the structure of your projects and to open files in an editor via a double click on the file. This empty area is the code area. We will write Java codes in this area. The Problems View shows errors and warning messages. Let's close the other views.

Now, let's customize our Eclipse by adding some views. First, let's add the Console view. I click the Window menu at the top of the interface, and Short View, and Console. The console is used to display program output. Now, let's add the Project Explorer view via Window, Show View, and Project Explorer. The Project Explorer view allows us to browse and modify files of Eclipse projects. Any change in the Project Explorer is directly applied to the files. For example, if you rename a file, the file system is directly changed. Also, Eclipse has typical menus on the menu bar. These menus are file menu, Edit menu, Navigate menu, Search menu, Project menu, Run menu, Window menu, and Help menu.

In general, we can edit many settings related to Eclipse from the Preferences tab in the Windows menu. For example, the text font of the editor is a bit small right now. Let's increase the font size a bit so you can see it better. For this, I click on the "Preferences" in the Windows menu. From the window that opens, I choose General, Appearance, Colors, and Fonts respectively. Then I select the "Java Editor Text Font" option from the window here and click the 'Edit' button on the right. Here, you can choose a font you want and change the font size.

I'm making font size 16 for now, then I click 'OK' and 'Apply' and 'Close' buttons. Now, the font of the editor has been changed. Of course, you may not be able to notice this right now because there is nothing on the code screen. But in our next lesson, we will create our first Java program. Okay, we will use Eclipse in our exercises because it is simple, and we don't need to worry about professional editors' configurations. We want to focus on learning Java now. Yes friends, we installed the Eclipse in this lesson. In the next lesson, we will write the first Java program. So, see you in the next lesson.

 

About the Author
Students
512
Courses
47
Learning Paths
3

OAK Academy is made up of tech experts who have been in the sector for years and years and are deeply rooted in the tech world. They specialize in critical areas like cybersecurity, coding, IT, game development, app monetization, and mobile development.

Covered Topics