0% found this document useful (0 votes)
48 views

Installing Java and Eclipse

The document provides instructions for installing Java and the Eclipse integrated development environment (IDE). It first discusses downloading the Java Development Kit (JDK) from Oracle and running through the installation process. It then describes how to verify the Java installation and troubleshoot any issues. The document also explains how to set the PATH environment variable in Windows to include the Java bin directory. Finally, it outlines the steps to download and install the latest version of the Eclipse IDE.

Uploaded by

shanmu ajay
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
48 views

Installing Java and Eclipse

The document provides instructions for installing Java and the Eclipse integrated development environment (IDE). It first discusses downloading the Java Development Kit (JDK) from Oracle and running through the installation process. It then describes how to verify the Java installation and troubleshoot any issues. The document also explains how to set the PATH environment variable in Windows to include the Java bin directory. Finally, it outlines the steps to download and install the latest version of the Eclipse IDE.

Uploaded by

shanmu ajay
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 24

9/17/2018 in28Minutes | (0/10)

g J a va a n d
Installin
Eclipse

http://beacon.by/magazine/pdf/in28minutes/installing-java-and-eclipse?type=print 1/24
9/17/2018 in28Minutes | (0/10)

Table of Contents

1. Congratulations

2. About in28Minutes

3. Installing Java

4. Verify Java and JShell Installation

5. Troubleshooting Java Installation

6. Setting PATH environment variable in Windows

7. Installing Eclipse

8. Keep Learning in28Minutes

http://beacon.by/magazine/pdf/in28minutes/installing-java-and-eclipse?type=print 2/24
9/17/2018 in28Minutes | (0/10)

Congratulations
You have made a great choice in learning with in28Minutes. You
are joining 100,000+ Learners learning everyday with us. 

100,000+ Java beginners are learning from in28Minutes to become experts

on APIs, Web Services and Microservices with Spring, Spring Boot and

Spring Cloud. 

http://beacon.by/magazine/pdf/in28minutes/installing-java-and-eclipse?type=print 3/24
9/17/2018 in28Minutes | (0/10)

About in28Minutes

How did in28Minutes get to 100,000 learners across the world?

We are focused on creating the awesome course (learning)


experiences. Period.

An awesome learning experience? What's that?

You need to get insight into the in28Minutes world to answer that.

You need to understand "The in28Minutes Way"

What are our beliefs?

What do we love?

Why do we do what we do?

How do we design our courses?

Let's get started on "The in28Minutes Way"! 

http://beacon.by/magazine/pdf/in28minutes/installing-java-and-eclipse?type=print 4/24
9/17/2018 in28Minutes | (0/10)

Installing Java

Google for "java jdk download"

Land on the Oracle JDK Download Site

http://beacon.by/magazine/pdf/in28minutes/installing-java-and-eclipse?type=print 5/24
9/17/2018 in28Minutes | (0/10)

Accept License Agreement

Download JDK for Your Specific Operating System

http://beacon.by/magazine/pdf/in28minutes/installing-java-and-eclipse?type=print 6/24
9/17/2018 in28Minutes | (0/10)

Launch the Downloaded file

Java Installation Screens

http://beacon.by/magazine/pdf/in28minutes/installing-java-and-eclipse?type=print 7/24
9/17/2018 in28Minutes | (0/10)

Choose Defaults and Copy Install Location

http://beacon.by/magazine/pdf/in28minutes/installing-java-and-eclipse?type=print 8/24
9/17/2018 in28Minutes | (0/10)

Choose Defaults and Copy Install Location

http://beacon.by/magazine/pdf/in28minutes/installing-java-and-eclipse?type=print 9/24
9/17/2018 in28Minutes | (0/10)

Congratulations

http://beacon.by/magazine/pdf/in28minutes/installing-java-and-eclipse?type=print 10/24
9/17/2018 in28Minutes | (0/10)

Verify Java and JShell


Installation

Launch Terminal or Command Prompt

Detailed Instructions

1. If you are on Windows : Open the Command Prompt window by


http://beacon.by/magazine/pdf/in28minutes/installing-java-and-eclipse?type=print 11/24
9/17/2018 in28Minutes | (0/10)

Click the Start button

Select All Programs -> Accessories > Command Prompt.

Or use Ctrl + Esc, and type in cmd and launch up command.

1. If you are on Mac or other OS, launch up Terminal.

cmd + space -> Type terminal -> Press enter

Java Version Successful

JShell Version Successful

Launching JShell

http://beacon.by/magazine/pdf/in28minutes/installing-java-and-eclipse?type=print 12/24
9/17/2018 in28Minutes | (0/10)

Error In Launching JShell

If you are in windows,  java -version  is working and  jshell


-version  is not working, directly jump to the section  Setting
PATH environment variable in Windows

http://beacon.by/magazine/pdf/in28minutes/installing-java-and-eclipse?type=print 13/24
9/17/2018 in28Minutes | (0/10)

Troubleshooting Java
Installation

1. Check if there are any pre-existing Java installs. Uninstall them and

reinstall again.

2. Temporarily turn off firewalls and antivirus software.

3. If you get file corrupt message, download the installation file again.

4. Check if you are on 32-bit OS or 64-bit OS. Remember, Java 9 is not

supported on 32 bit windows.

5. Check if you need PATH variable to point to right Java Version

- https://www.java.com/en/download/help/path.xml

More Help

Windows - https://docs.oracle.com/javase/9/install/installation-jdk-and-

jre-microsoft-windows-platforms.htm

Mac - https://docs.oracle.com/javase/9/install/installation-jdk-and-jre-

macos.htm#JSJIG-GUID-2FE451B0-9572-4E38-A1A5-568B77B146DE

Linux - https://docs.oracle.com/javase/9/install/installation-jdk-and-jre-

linux-platforms.htm#JSJIG-GUID-737A84E4-2EFF-4D38-8E60-

3E29D1B884B8

http://beacon.by/magazine/pdf/in28minutes/installing-java-and-eclipse?type=print 14/24
9/17/2018 in28Minutes | (0/10)

Setting PATH environment


variable in Windows

Goal - What we want to do?

Browsing to Java Folder

Browsing to JDK Bin Folder

http://beacon.by/magazine/pdf/in28minutes/installing-java-and-eclipse?type=print 15/24
9/17/2018 in28Minutes | (0/10)

Launch Environment Variables

Two Options

Short Route -  Click  Start Button or  Ctrl + Esc  to launch start

menu and type in  Env . Choose  Edit System Environment


Variables .

Long Route - Select  Control Panel  and then  System .

Click  Advanced  and then  Environment Variables . 

http://beacon.by/magazine/pdf/in28minutes/installing-java-and-eclipse?type=print 16/24
9/17/2018 in28Minutes | (0/10)

Image

http://beacon.by/magazine/pdf/in28minutes/installing-java-and-eclipse?type=print 17/24
9/17/2018 in28Minutes | (0/10)

Select and Edit Path Variable

http://beacon.by/magazine/pdf/in28minutes/installing-java-and-eclipse?type=print 18/24
9/17/2018 in28Minutes | (0/10)

Add JDK Bin Folder To Path

http://beacon.by/magazine/pdf/in28minutes/installing-java-and-eclipse?type=print 19/24
9/17/2018 in28Minutes | (0/10)

http://beacon.by/magazine/pdf/in28minutes/installing-java-and-eclipse?type=print 20/24
9/17/2018 in28Minutes | (0/10)

Installing Eclipse

Eclipse is the most popular open source Java IDE.

Choose the latest available version of Eclipse - Eclipse Oxygen (4.7) or Later.

Tip : Do not use an old eclipse version!

Prerequisites

Java JDK 9

Installation

1. Search google for “download eclipse” and choose the first result. The

direct link is http://www.eclipse.org/downloads/eclipse-packages/. 

2. Choose the right Operation System. 

http://beacon.by/magazine/pdf/in28minutes/installing-java-and-eclipse?type=print 21/24
9/17/2018 in28Minutes | (0/10)

1.

2. We recommend to choose “Eclipse IDE for Java EE Developers”. Choose

32 bit or 64 bit based on your operating system. (Right-click My

Computer, and then click Properties. If "x64 Edition" is listed under

System, your processor is capable of running a 64-bit version of

Windows.)

3. Wait for the download to complete. Extract the zip file to a folder

(Example : c:\eclipse).

4. When you unzip Eclipse, the directory layout looks something like this:

eclipse/
features/ ''the directory containing
Eclipse features''
plugins/ ''the directory containing
Eclipse plugins''
eclipse.exe ''platform executable''
eclipse.ini
eclipsec.exe ''(windows only) console
executable''
epl-v10.html ''the EPL license''
jre/ ''the JRE to run Eclipse
with''
notice.html
readme

1. You can start Eclipse by running eclipse.exe on Windows or eclipse on

http://beacon.by/magazine/pdf/in28minutes/installing-java-and-eclipse?type=print 22/24
9/17/2018 in28Minutes | (0/10)

1. other platforms. This small launcher essentially finds and loads the JVM.

On Windows, the eclipsec.exe console executable can be used for

improved command line behavior.

More Details
- https://wiki.eclipse.org/FAQ_How_do_I_run_Eclipse%3F

Troubleshooting

Use 7Zip instead of windows built-in decompression utility.

Unzip to root folder (e.g. c:) compared to a long directory path (e.g.

c:\Program Files\Eclipse).

Reference - https://wiki.eclipse.org/Eclipse/Installation#Troubleshooting

http://beacon.by/magazine/pdf/in28minutes/installing-java-and-eclipse?type=print 23/24
9/17/2018 in28Minutes | (0/10)

Become an expert on Java, Spring Boot, APIs, Microservices


and Full Stack Development

Checkout the Complete in28Minutes Course Guide

http://beacon.by/magazine/pdf/in28minutes/installing-java-and-eclipse?type=print 24/24

You might also like