History of Java:

Java programming language was originally developed by Sun Microsystems which was initiated by James Gosling and released in 1995 as core component of Sun Microsystems' Java platform (Java 1.0 [J2SE]).
जावा प्रोग्रामिंग भाषा मूल रूप से सन माइक्रोसिस्टम्स द्वारा विकसित की गई थी जिसे जेम्स गोसलिंग द्वारा शुरू किया गया था और 1995 में सन माइक्रोसिस्टम्स के जावा प्लेटफॉर्म (जावा 1.0 [J2SE]) के मुख्य घटक के रूप में जारी किया गया था।

Firstly, it was called "Greentalk" by James Gosling, and file extension was ".gt". After that, it was called Oak and was developed as a part of the Green project.

सबसे पहले, जेम्स गॉस्लिंग द्वारा इसे "ग्रीनटॉक" कहा जाता था, और फ़ाइल एक्सटेंशन ".gt" था। उसके बाद, इसे ओक कहा जाता था और इसे ग्रीन प्रोजेक्ट के एक भाग के रूप में विकसित किया गया था।

Java is a programming language and a platform. Java is a high level, robust and object-oriented programming language. 
JAVA एक प्रोग्रामिंग भाषा और एक प्लेटफॉर्म है। JAVA एक उच्च स्तरीय, मजबूत और वस्तु-उन्मुख प्रोग्रामिंग भाषा है।

Example of Java Program:(जावा प्रोग्राम का उदाहरण)


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


How to set path in Java(जावा में पथ कैसे सेट करें)

There are two ways to set the path in Java:
  1. Temporary
  2. Permanent
जावा में पथ सेट करने के दो तरीके हैं:
       1. अस्थायी
       2.  स्थायी

1) How to set the Temporary Path of JDK in Windows

To set the temporary path of JDK, you need to follow the following steps:
  1. Open the command prompt
  2. Copy the path of the JDK/bin directory
  3. Write in command prompt: set path=C:\Program Files\Java\jdk1.8.0_181\bin
JDK का अस्थायी पथ सेट करने के लिए, आपको निम्नलिखित चरणों का पालन करना होगा:

     1. कमांड प्रॉम्प्ट खोलें
     2. JDK / बिन निर्देशिका के पथ की प्रतिलिपि बनाएँ
     3. कमांड प्रॉम्प्ट में लिखें: सेट पथ = C:\Program Files\Java\jdk1.8.0_181\bin




2) How to set Permanent Path of JDK in Windows

For setting the permanent path of JDK, you need to follow these steps:
JDK के स्थायी पथ की स्थापना के लिए, आपको इन चरणों का पालन करने की आवश्यकता है:

  1. Go to This PC properties -> advanced tab -> environment variables -> new tab of user variable -> write path in variable name -> write path of bin folder in variable value -> ok -> ok -> ok
Step1:
Step2:


 Step3:
Step4:

Step5:


Step6:    ok -> ok -> ok