Downloading Java

What is Java?

Java is an object-oriented programming language designed by James Gosling in 1995.

It is owned by Oracle Corporation. Stable release version Java SE 16 / March 16, 2021.

It is used for:

Why Use Java?


jdk download website

Step 1 : Download -> jdk download->select os type->click the download.

os type

Step 2 : Install the JDK file.

Step 3 : Copy C:\Program Files\Java\jdk-16\bin path.

jdk file location

Step 4 : After installing right click on the My Computer.

advanced system settings

Step 5 : Click advanced system settings.

Environment variables

Step 6 : Click Environment variables.

path option

Step 7 : Double click on the Path option(System variables)

path paste

Step 8 : Click the New option and paste the path you copied.

Step 9 : Ok

Eclipse download

Download the eclipse in this link and install it.


How to create a first java application on eclipse

Create a Hello World Program
public class MyProject {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		System.out.println("Hello World");