Skip to main content

HOW TO SET JAVA_HOME, PATH, and CLASSPATH Environment Variables in Windows7

HOW TO SET JAVA_HOME, PATH, and CLASSPATH 



Note: You must be logged onto your computer as the Admin user


  1.  Click the Windows Start button, right-click Computer and select Properties. 
  2.  Click Advanced system settings.
  3.  Click Environment Variables.
  4.  In the Environment Variables window, under System Variables, click the New button.
  5.  In the New System Variable window, enter the following:

       - Variable name: JAVA_HOME

       - Variable value: C:\Program Files\Java\jdk1.8.0_121


          Then click the OK button.



 6.  Select the PATH system variable and click the Edit button.
    (If PATH system variable is not available, click the New button to create a PATH variable
    enter, name it PATH, and enter   C:\Program Files\Java\jdk1.8.0_121
    for the Variable value, and then click the OK button.)

6. In the Edit System Variable window, in the Variable value field, place the cursor at the starting
    position and enter the following:

C:\Program Files\Java\jdk1.8.0_121\bin;

Then click the OK button


7. Click the New button to create another System Variable.
8. In the New System Variable window, enter the following:
- Variable name: CLASSPATH
- Variable value: C:\Program Files\Java\jdk1.8.0_121\lib\tools.jar;.;
(Note: The variable value has a semicolon, a period, and a semicolon at the end.)
Then click the OK button


You have created/updated three system variables. Click the OK button to close the Environment Variables and System Properties windows. Close the Control Panel window


Comments

Popular posts from this blog

How To Display Welcome Message On Spring Boot Project

How To Display Welcome Message On Spring Boot Project  Normally Whenever we configure and start our first spring boot project and check in localhost:8080 it will display Whitelabel Error Page because  there is no explicit mapping found nor any index.html file found in the static folder, Today we will learn how to display a welcome message instead of Whitelabel Error Page. Now open your project in any IDE like IntelliJ etc. Go Static Folder as right Click and select Html File as shown Below Give name file to index.html  Type any welcome message  Restart the server  Open Web Browser and type localhost:8080 and see a welcome message How To Display Welcome Message In Spring Boot To Watch Video Click Here

Safety Tips To Access Internet Over Browser

Safety Tips To Access Internet Over Browser जब कभी हम इन्टरनेट एक्सेस करते है ,या तो किसी सिक्योर नेटवर्क से करते है |  या इनसिक्योर  नेटवर्क से करते है |जब भी हम इन्टरनेट का उपयोग करते है  हमें ये भी नहीं पता होता की Browser like Chrome,Mozilla, Safari,internet explorer हमारी सीक्रेट  जानकारी (जैसे की हमने किस वेबसाइट को एक्सेस किया ,कितनी बार एक्सेस किया etc)को history के तौर पर स्टोर कर लेता है| कभी कभी तो यह userid और password  को भी स्टोर कर लेता है| जिसका बुत आसानी से मिसयूज (Misuse) किया जा सकता है| See The Example below how Google chrome Maintain history - आप थोड़ी सी सावधानी से इन चीजों से अपने आप को सेफ कर सकते है |  अगर आप इन्टरनेट एक्सेस कर रहे है और आप चाहते की browser आपकी Activity और आपके userid ,password को स्टोर न करे इसके लिए आपको  browser के  incognito mode का use करना है Browser के   incognito mode को use करने के लिए आपको  बस दो स्टेप फॉलो  करना है Open your brow...

How To Create Spring Boot Project From Spring Initializer

How To Create Spring  Boot Project From Spring Initializer To Create Spring boot project from spring initializer following steps are required Open Web Browser and type  https://start.spring.io/ To Create Spring Project Click Here Follow the step as given in image Below Finally, Click On Generate the project Button or Press Ctrl+Enter To Generate How  To Create Spring Boot Project From Spring Initializer Watch Video