Java Introduction and Installation

Introduction to Java:

Java is a most powerful programming language and is an open source platform for many applications.

In our day to day life from morning to evening, we are using many java programmed applications and devices which include the smartphone in your hand to secured ATM backing transactions.

An explicit sequence of Java tutorials are compiled in this series to give you a better understanding on the concept of Java.

Java Introduction and Installation

Check out the below Video tutorial on:

Basic Concepts of Java:

Introduction to Java:

How to Download & Install Java and Eclipse IDE:

Java Special Features

  • The main feature is platform independent i.e. “Write once and run anywhere”. Java code can be compiled as bytecode and it can be run in any environment with JVM (Java Virtual Machine).
  • Java can help to build a secured application. Example: Many banking application is built on Java.
  • Java supports multithreading and it makes thread programming easy.
  • Java supports a distributed environment.
  • Java binary code is independent of any hardware or software architecture. Hence, it has an architecture neutral feature.
  • Java bytecode can be carried easily, thus Java is portable.

Java Origin

Initially, Java was developed by Sun Microsystems.

James Gosling, Mike Sheridan, and Patrick Naughton initiated the Java language project. Now Sun Microsystems has been acquired by Oracle.

Java Versions

VersionsRelease Year
JDK 1.01996
JDK 1.11997
J2SE 1.21998
J2SE 1.32000
J2SE 1.42002
J2SE 5.02004
Java SE 62006
Java SE 72011
Java SE 82014
Java SE 92017

In this tutorial, Java SE 8 has been used for explanation.

Overview of Java Programming

  • Java program can be written in any plain text file and can be named as
  • This code will be compiled by the JDK (java development kit) and this “.java” file will be converted into bytecode as “myprogram.class” file.
  • Again, that will be converted into 0’s and 1’s by JVM (Java Virtual Machine). It can be run in any platform as JVM is available for several operating systems.
  • So, to create a java project, you need JDK installed on your machine. If you download JDK, it will contain JRE (Java Runtime Environment) and development tools.
  • JRE is the Java Runtime environment which is required to run the java application and it consists of JVM, java package classes and runtime libraries.
  • Click here to download JDK.

Java Program Compilation and Execution Flow

Java Program Compilation

Java Integrated Development Environment (IDE)

Java IDE is a software which helps the users to write and debug the program easily. It can highlight the syntax and errors.

One of the famous IDE is the eclipse. Download Eclipse from this link.

Java Application Types

Standalone Application: You can build desktop applications/software’s using java. Example: Antivirus.

Mobile Apps: You can develop mobile apps using java. Example: Android developed in java language.

Web Application: This Web applications will be hosted in a server like Tomcat and this application can be accessed anywhere. Example: Many websites.

Enterprise Application: This application is secured, distributed and developed in Java. Example: Banking applications.

Key points to be noted:

  • Java is platform independent as Java program can be run in any OS or any hardware.
  • To compile the java program we need JDK.
  • JRE provides a runtime environment.
  • Many amazing applications have been developed by the Java platform. For Example, NASA World Wind has been fully developed in Java. It is similar to google earth. And Blu-Ray BD J has been developed in Java.
  • Eclipse is a popular IDE to develop Java projects and it is open source as well.


In this tutorial, we learned the basic concepts of java and came to know how the java program has been compiled and executed and what is the required environment to work on the java project.

In the video tutorial, you will see the demo of installing JDK, eclipse, and execution of one java program.

Check our upcoming tutorial to learn more about concepts of DataTypes, Loops, Arrays, Switch And Assertions in Java!!

PREV Tutorial | NEXT Tutorial