Search

What is Java ?

What is Java ?

Java is :
  • Object Oriented
  • Platform Independent
  • Simple
  • Secure
  • Architectural Neutral
  • Portable
  • Robust
  • Multi threaded
  • Interpreted
  • High Performance
  • Distributed
  • Dynamic



How to set path in Java (Temporary)


The path is required to be set for using tools such as javac, java etc.

There are two ways to set path:
  • Temporary
  •  Permanent
Today we will be talking about Temporary method for setting path in Java.

Step 1:
Open Command Prompt.
  • press Windows+r.
  • type cmd




Step 2:Copy the path of jdk\bin directory.


The default path is :
 C:\Program Files\Java\jdk<version>\bin

Step 3:In command prompt write
set path=copied path
 For eg:

set path = C:\Program Files\Java\jdk1.7.0_75\bin



And your path set set temporarily. In next post will write about setting the path in Java permanently.
 

Creating First Java Program -- Hello World

First Java Program -- Hello World !!!

class HelloWorld {

    public static void main(String[] args) {

       System.out.println("Hello World!");

    }
 } 

Output :

© 2015. All Rights Reserved.