Step By Step Process To Install Java And Eclipse

Step by step installation process of java, java installation, how to install java for window, Java environment variable, How to set java environment variable,

After understanding basic concept of Java (introduction to Java), let us learn how to install Java to your machine.

1. Process to install Java

Uninstall if already any java related software got installed.

  • In window machine, Go to Start >
  • Click on ‘Control Panel’ > Click on ‘Uninstall a program’ link under ‘Programs’ >
  • Select java related install from list > Right click > Click on ‘Uninstall’ link > Uninstalled successfully.

Download JDK

Process to install Java, Download JDK, Process to install Java for beginners, Step by step process to install java for beginners,
  • Click on ‘Accept License Agreement’ radio button.
Process to install Java, Download JDK, Process to install Java for beginners, Step by step process to install java for beginners,
  • Select your OS (i.e. windows) and download installer (dk-8u201-windows-i586.exe).
Process to install Java, Download JDK, Process to install Java for beginners, Step by step process to install java for beginners,

Install JDK and JRE

  • Click on downloaded ‘dk-8u201-windows-i586.exe’.
  • By default JDK and JRE will be installed in ‘C:\Program Files\Java\jdk’ and ‘C:\Program Files\Java\jre’ respectively.

Note: Before installing, recommended to know more on JDK and JRE and JRE workflow

Check java installed or not in your system

Step 1: Navigate to command prompt. (Start > type ‘CMD’ on search box > Press Enter > command prompt will open)

Step 2: Type ‘cd/’ > press Enter to revert back to C:\ folder path

Step 3: type ‘java –version’ (Installed java version will be displayed like -> java version “1.8.0_201” on command prompt will be displayed)

It has been confirmed that java is installed successfully.

Note: Above steps mentioned for window platform and please comment if needed steps for other platform too. Also drop a comment if required still more details.

2. Process To Set Environment Variable In Java

What is java environment variable?

Environment variable is a global system variable accessible by all the processes running under the OS.

Why Environment variable path set is required?

If you are saving the Java source file inside the JDK/bin directory, the path is not required to be set because all the tools will be available in the current directory. However, if you have your Java file outside the JDK/bin folder, it is necessary to set the path of JDK. PATH stores a list of directories for searching executable programs.

What if environment variable not set?

We get compile errors like,

Error: 'javac' is not recognized as an internal or external command, operable program or batch file.

Warning: The environment variable HOME is not set. The following directory will be used to store the Git.

How to set environment variable?

  • Start > Computer (right click) > Properties > Advance system settings > Click on ‘Advanced tab’ >  Environment variables > click on ‘New’ under ‘System variable’ > Write ‘Path’ on Variable name field (if path variable not exist) > paste the jdk bin path on variable value field (C:\Program Files\Java\jdk11.0.1_131\bin)
  • Close all remaining windows by clicking OK.

3. Process To Install Eclipse

Process to install Eclipse, Download Eclipse, Process to install Eclipse for beginners, Step by step process to install eclipse for beginners,
  • Select the required eclipse version.
  • Here we are selecting version ‘Kepler’ for Window7-32 bit
  • Select version depends on your machine.
  • Unzip the downloaded file and place the complete folder in required location.
  • Open downloaded folder > Open folder Eclipse > Click on ‘Eclipse’ icon to launch Eclipse.

Note: No more installation required for eclipse.

  • Close Welcome window and start work on it.

Leave a Comment

Your e-mail address will not be published.