How to Set JAVA_HOME Environment Variable and Java Path on Windows 10

Поділитися
Вставка
  • Опубліковано 4 жов 2024

КОМЕНТАРІ • 48

  • @Vinodmhetre007
    @Vinodmhetre007 3 роки тому +5

    Do we need JAVA_HOME or just Path edition will do? If we are creating JAVA_HOME just to use it in Path variable, then can we just edit Path variable, by giving absolute path. Please suggest.

    • @JavaGuides
      @JavaGuides  3 роки тому +1

      You need to configure both JAVA_HOME and path

    • @Vinodmhetre007
      @Vinodmhetre007 3 роки тому +1

      @@JavaGuides Thank you.I do not have JAVA_HOME set but still java commands are working on cmd, how?

    • @JavaGuides
      @JavaGuides  3 роки тому +2

      @@Vinodmhetre007 when you type Java commands in command prompt, it will point to that location using path variable. CMD uses path variable to point Java commands location.

    • @Vinodmhetre007
      @Vinodmhetre007 3 роки тому +2

      then in which case do we need JAVA_HOME?

    • @JavaGuides
      @JavaGuides  3 роки тому +4

      @@Vinodmhetre007 JAVA_HOME used by servers like Tomcat, tools like maven, gradle etc.

  • @kartiksahani-oy2mw
    @kartiksahani-oy2mw День тому

    Thanks for sharing your knowledge

  • @NishantKumar-he8cl
    @NishantKumar-he8cl 4 роки тому +1

    bhai mene kai sare vdo dekhe lekin is vdo se mujhe help mila.
    thanks bro

  • @davidtrammell8899
    @davidtrammell8899 3 місяці тому

    Finally someone got it right... Yeah, and I want you to know that I appreciate it too... Thank you...

  • @YANDRAPUESTHERURANI
    @YANDRAPUESTHERURANI 3 місяці тому

    Thank u sir this video only help me to set java path

  • @shreyasl934
    @shreyasl934 Рік тому

    exactly what i wanted, using path dynamicaly with variable, tq

  • @cryptotiger2982
    @cryptotiger2982 Рік тому

    Your define path step worked out well
    No one told that step
    Good

  • @Kavee_3
    @Kavee_3 3 роки тому +1

    exactly what I was looking for, thanks programming mate

  • @sudharshankundaragi9593
    @sudharshankundaragi9593 Рік тому

    Thank u sir this was very much helpfull to us 🙂🙂

  • @uzairrana2895
    @uzairrana2895 Рік тому

    Thank you very much it solve my problem

  • @chinonsovictor6531
    @chinonsovictor6531 4 роки тому +1

    Thank you so much Ramesh! 🤗

  • @brianduong5251
    @brianduong5251 8 місяців тому

    Great help. thank you

  • @kedandu4209
    @kedandu4209 8 місяців тому

    Good explanation

  • @coldnovember3950
    @coldnovember3950 Рік тому

    You saved me man, Now I'm one of your subscribers ❤

  • @kedandu4209
    @kedandu4209 8 місяців тому

    Well explained brother

  • @babapathan6043
    @babapathan6043 Рік тому

    thank you bro
    for this video

  • @challanohith6192
    @challanohith6192 3 роки тому

    Exactly got what I wanted, Thanks 😊

  • @kummethanareshkumarreddy4226

    Well explained

  • @giriprakashreddy5747
    @giriprakashreddy5747 Рік тому

    Useful

  • @sevenyou
    @sevenyou 7 місяців тому +2

    Unfortunately it still says java is not recognised as an internal or external command:(

  • @sivaprasad6621
    @sivaprasad6621 3 роки тому

    Pretty Straight Forward

  • @anujmahajan1378
    @anujmahajan1378 3 місяці тому +1

    I configured both but it is coming error invoking main method

  • @juliuseberlein858
    @juliuseberlein858 Рік тому

    absolutely underrated

  • @anamtmm7362
    @anamtmm7362 7 місяців тому

    Thank you ❤

  • @YomiOdara
    @YomiOdara Рік тому

    easy and straigth forward

  • @nanashipersonne4151
    @nanashipersonne4151 Рік тому

    Thx, it helped!

  • @louievasquez6009
    @louievasquez6009 5 місяців тому

    i changed my JAVA_HOME to java 7 and then put %JAVA_HOME%\bin in my path but for some reason, my java -version is still java 11. i have a lot of jdk downloaded in my program files/ java folder but it wont switch correctly, and i have even restarted the computer multiple times

  • @akashsharma845
    @akashsharma845 9 місяців тому

    You have installed java 11 but in command prompt it is showing 1.8 version. Why?

  • @harsha7001
    @harsha7001 11 місяців тому

    Thanks

  • @jakovmatosic4890
    @jakovmatosic4890 Рік тому

    Always come back to these lol

  • @gentronz940
    @gentronz940 Рік тому

    for me when i type "javac" in command prompt it says "'javac' is not recognized as an internal or external command, operable program or batch file.

  • @RPAudioeVisual
    @RPAudioeVisual 3 роки тому

    Do you know causes it to goes missing? (IF there's something that makes it goes missing, in first place)

  • @yezi2269
    @yezi2269 2 роки тому

    Thank u

  • @fitraho6655
    @fitraho6655 4 роки тому

    thanx sir

  • @pavanigogikar5439
    @pavanigogikar5439 11 місяців тому

    But I am unable to see view advance system settings in my ofc laptop

  • @archanaaagaje587
    @archanaaagaje587 2 роки тому

    2.0when we click on path the Pop window is different.and ur pop window is different
    My pop window does not have options like new edit nothing

  • @sahelics
    @sahelics Рік тому

    Javap is not recognised still. How to solve that?

  • @monyoromongare
    @monyoromongare 4 роки тому +1

    🙏🙏🙏

  • @onetwo7191
    @onetwo7191 10 місяців тому

    didn't work

  • @escudesign
    @escudesign Рік тому

    Thanks! Good video. You have here solution for error when you install a new version of Android Studio Eel (electric) on Ubuntu kinetic and when you are trying to setup for flutter app development in your android studio, you might get an error in your terminal. ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. ua-cam.com/video/tYZPn19qK6E/v-deo.html