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

Поделиться
HTML-код
  • Опубликовано: 6 янв 2025

Комментарии • 51

  • @Vinodmhetre007
    @Vinodmhetre007 4 года назад +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  4 года назад +1

      You need to configure both JAVA_HOME and path

    • @Vinodmhetre007
      @Vinodmhetre007 4 года назад +1

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

    • @JavaGuides
      @JavaGuides  4 года назад +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 4 года назад +2

      then in which case do we need JAVA_HOME?

    • @JavaGuides
      @JavaGuides  4 года назад +4

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

  • @CreepyLife000
    @CreepyLife000 Месяц назад

    Thank you bro, I did it
    How to check Java Version if anyone needed: java -version (in command prompt)
    If it appears a version, then you did it

  • @NishantKumar-he8cl
    @NishantKumar-he8cl 4 года назад +1

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

  • @davidtrammell8899
    @davidtrammell8899 6 месяцев назад

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

  • @cryptotiger2982
    @cryptotiger2982 Год назад

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

  • @coldnovember3950
    @coldnovember3950 Год назад

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

  • @kartiksahani-oy2mw
    @kartiksahani-oy2mw 3 месяца назад

    Thanks for sharing your knowledge

  • @kedandu4209
    @kedandu4209 11 месяцев назад

    Well explained brother

  • @Kavee_3
    @Kavee_3 3 года назад +1

    exactly what I was looking for, thanks programming mate

  • @kedandu4209
    @kedandu4209 11 месяцев назад

    Good explanation

  • @chinonsovictor6531
    @chinonsovictor6531 4 года назад +1

    Thank you so much Ramesh! 🤗

  • @sudharshankundaragi9593
    @sudharshankundaragi9593 Год назад

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

  • @shreyasl934
    @shreyasl934 Год назад

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

  • @giseleboissonneault923
    @giseleboissonneault923 Месяц назад

    Thank you, it worked!

  • @YANDRAPUESTHERURANI
    @YANDRAPUESTHERURANI 6 месяцев назад

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

  • @brianduong5251
    @brianduong5251 Год назад

    Great help. thank you

  • @kummethanareshkumarreddy4226
    @kummethanareshkumarreddy4226 2 года назад

    Well explained

  • @uzairrana2895
    @uzairrana2895 Год назад

    Thank you very much it solve my problem

  • @challanohith6192
    @challanohith6192 3 года назад

    Exactly got what I wanted, Thanks 😊

  • @gentronz940
    @gentronz940 Год назад +1

    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.

  • @babapathan6043
    @babapathan6043 Год назад

    thank you bro
    for this video

  • @fairojjamankabbo
    @fairojjamankabbo Месяц назад

    thanks a lot man!

  • @سيمفوني
    @سيمفوني 10 месяцев назад +3

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

  • @giriprakashreddy5747
    @giriprakashreddy5747 Год назад

    Useful

  • @anamtmm7362
    @anamtmm7362 10 месяцев назад

    Thank you ❤

  • @juliuseberlein858
    @juliuseberlein858 Год назад

    absolutely underrated

  • @nanashipersonne4151
    @nanashipersonne4151 Год назад

    Thx, it helped!

  • @anujmahajan1378
    @anujmahajan1378 6 месяцев назад +1

    I configured both but it is coming error invoking main method

  • @sivaprasad6621
    @sivaprasad6621 3 года назад

    Pretty Straight Forward

  • @RPAudioeVisual
    @RPAudioeVisual 3 года назад

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

  • @louievasquez6009
    @louievasquez6009 9 месяцев назад

    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

  • @YomiOdara
    @YomiOdara 2 года назад

    easy and straigth forward

  • @harsha7001
    @harsha7001 Год назад

    Thanks

  • @akashsharma845
    @akashsharma845 Год назад

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

  • @pavanigogikar5439
    @pavanigogikar5439 Год назад

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

  • @jakovmatosic4890
    @jakovmatosic4890 2 года назад

    Always come back to these lol

  • @yezi2269
    @yezi2269 2 года назад

    Thank u

  • @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

  • @fitraho6655
    @fitraho6655 4 года назад

    thanx sir

  • @monyoromongare
    @monyoromongare 4 года назад +1

    🙏🙏🙏

  • @sahelics
    @sahelics 2 года назад

    Javap is not recognised still. How to solve that?

  • @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. ruclips.net/video/tYZPn19qK6E/видео.html

  • @onetwo7191
    @onetwo7191 Год назад

    didn't work