How to install Java

How to install Java
Want create site? With Free visual composer you can do it easy.

Basics of Java


  • Initiated in 90’s (1991).
  • Founded by James Gosling (Sun Microsystems).
  • Original name is Oak before named as Java.
  • First public release was on 1995.
  • It was mainly targeted at Internet Development.

Java is,

  • Widely used.
  • Class based OOP
  • General purpose
  • Computing platform

Java version history

  1. JDK Alpha and Beta (1995)
  2. JDK 1.0 (23rd Jan, 1996)
  3. JDK 1.1 (19th Feb, 1997)
  4. J2SE 1.2 (8th Dec, 1998)
  5. J2SE 1.3 (8th May, 2000)
  6. J2SE 1.4 (6th Feb, 2002)
  7. J2SE 5.0 (30th Sep, 2004)
  8. Java SE 6 (11th Dec, 2006)
  9. Java SE 7 (28th July, 2011)
  10. Java SE 8 (18th March, 2014)

Platform independence of Java
A platform is the hardware or the software environment in which your program runs. There are 2 types of platforms namely Runtime Environment and API (Application Programming Interface).


To execute a simple Java program, first need to download and install Java to your computer.

How to install Java?

Latest version can be downloaded from the Java Official website for Linux, Mac or Windows 7/8.


Choose Windows to download and Install Java for Windows computer. (Depend on your OS)

  1. Install the JDK.


2. Set path of the JDK/bin directory.

  •  Permanent path

                  1. Go to My Computer and right click and select properties.


                 2. Go to Advanced Systems settings 


                 3. Select Environmental variables.


                  4. Select New tab (User Variables).


                  5. Write “path” in variable name.


                  6. Copy the path as the Variable Value.


                               When you select ok, now you can execute any Java program
  • Temporary path 

Type the below command in your terminal.


3. Create Java program.
4.Compile and execute.
For Linux


Thamali Epa
Thamali is a contributor at Nerdynaut Staff.
Did you find apk for android? You can find new Free Android Games and apps.
  • Fascinated
  • Happy
  • Sad
  • Angry
  • Bored
  • Afraid

FB comments

Use 3dcart to create your online store.


  1. Anirudh Biliya

    October 28, 2015 at 5:53 pm

    Good Information

  2. Loma sedu

    October 28, 2015 at 6:57 pm

    Thanks nerdynaut

Leave a Reply

Your email address will not be published. Required fields are marked *

Most Popular

​Disclaimer : Nerdynaut is a tech company which consists of professionals in respective academic fields in its functional team facing challenging roles to quench the thirst of knowledge in cyberspace. Every article and majority of artworks in this website are copyright of Nerdynaut 2017. After a written permission from the publisher, the original content can be reused or referred for promotional work of education without any modification. Expressions of mass media with intentional harm on Nerdynaut brand may be liable to criminal prosecution and civil claims for the damages caused.
Protected by Copyscape
* = required field

Copyright©2014-2017.The Nerdynaut. All Rights Reserved. A game-changing subordinate of Naut's Holdings.
Made in Sri Lanka.

To Top