Install Java and Setup Environment Variable

What is JAVA?

Java is one of best enterprise-level programming language which is widely used in various applications such as Website Development, Desktop Application, Automation, Mobile Application and many more. Java support OOPs concepts such as Inheritance, Abstraction, Encapsulation, and Polymorphism. This makes Java more demanding in Software Industries.

How to Install Java?

To install Java we have to download java .exe from Oracle website, install and set up the environment variable. This article helps you to install and set up the environment variable. Refer below for step by step guide.

Pre-Requisites for Installing Java:

  1. Machine(Windows/Mac or Linux- Linux and Mac need to install OpenJDK)
  2. Administrative Right
  3.  Recommended RAM 8GB for better performance(Min 4GB)

Java Installation Steps:

  • Step 1: Download Java- To download JDK  ( JVM + JRE ) Click on below link and download JDK as per your Hardware requirement – Download Java Exe
  • Step 2: After download click on downloaded .exe and install on your System
  • Step 3: Environment Variable Setup- Open Control Panel > System and Security > System
System Security
System Security
  • Step 4: Click on Advanced System Settings
Advanced System Settings
Advanced System Settings
  • Step 5: Click on New to create a new System Variable
New System Variable
New System Variable
  • Step 6: Give Variable Name ‘JAVA_HOME‘ & Variable Value- “C:\Program Files\Java\jre1.8.0_162
Edit Environment Varaible
Environment Variable
  • Step 5: Go to Path Variable ( in Case of Windows 10 add new Path Variable)
Path Variable
Path Variable
  • Step 6: Append Path – ;%JAVA_HOME%\bin and press Ok

Result: Java successfully configured on your system

Check Java version in windows

Open Command Prompt- Go to start and type “cmd” and press enter to open the command prompt. And type “java –version”

How to check Java version - Command Prompt
How to check Java -Version

Download IDE For JAVA

  • Step 1: Click on the below link and choose editor as per your requirement and hardware capability.

Download IDE/Editor for Java

Eclipse IDE
Eclipse IDE
  • Step 2: Unzip and open eclipe.exe: Right clicks on eclise.exe and send to Desktop as a shortcut and double click to open.
Eclipse exe File
Eclipse exe File
  • Step 3: Set your workspace – Give Workspace location and Name.

I hope, this article helps you to in Java installation and environment variable set up. Feel free to reach out to us on query@thoughtcoders.com or call us 9555902032 for more information.

close

Subscribe to our Newsletter:

Open chat
Feel free to contact