Getting Started with Java

  • The Java Programming Language is a general-purpose, concurrent, strongly typed, class-based object-oriented language.
  • Java was orignally developed by James Gosling at Sun Microsystems and released in 1995.
  • Oracle Corporation is the current owner of the official implementation of the Java SE platform.
  • The current stable version, Java SE 13 released on September 17, 2019
  • OpenJDK (Open Java Development Kit) is a free and open-source implementation of the Java Platform, Standard Edition (Java SE).
  • OpenJDK is the official reference implementation of Java SE since version 7.

Step 1: Download and Install Oracle JDK or Oracle OpenJDK from

  • Oracle JDK:
  • Oracle OpenJDK : or

Step 2: Set the Java Path in System Environmental Variables

Step 3: Now create file as shown below

public class MyClass {

	public static void main(String[] args) {
		System.out.println("Hello World");

Step 4: Compile and Run the Java Program from command prompt as shown below


C:\Users\Girish\JavaPrograms>java MyClass
Hello World

Step 5: Check the files it has created

11-10-2019  11:01 PM               429 MyClass.class
11-10-2019  11:00 PM               121

To check the installed version of java

C:\Users\Girish>java -version
openjdk version "13" 2019-09-17
OpenJDK Runtime Environment (build 13+33)
OpenJDK 64-Bit Server VM (build 13+33, mixed mode, sharing)

Popular Java Integrated Development Environments (IDE)

  • Eclipse IDE 2019-09 R (Eclipse IDE for Enterprise Java Developers)
  • Apache NetBeans 11.1
  • IntelliJ IDEA Community Edition (Version 2019.2.3)



Learn more about Java Features in the upcomgin blog articles

Happy Learning!