JAVA_HOME vs. PATH environment variables

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ก.ย. 2024

ความคิดเห็น • 18

  • @krige
    @krige 2 ปีที่แล้ว +5

    I recommend using SDKMAN to automatically setup the JAVA_HOME and PATH environment variables. It is also used to install and manage different versions of JDK and can be set up to automatically switch Java version when you cd into the directory of a project.

  • @sutanubhattacharya3950
    @sutanubhattacharya3950 4 หลายเดือนก่อน +1

    Exactly what I was looking for! Thank you.

  • @stith_pragya
    @stith_pragya 6 หลายเดือนก่อน +2

    Thank You So Much for this wonderful video..............🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻

  • @BlahzayBeta
    @BlahzayBeta 6 หลายเดือนก่อน +1

    fantastic content. Very informative. Thanks

  • @ashwinthankachan9451
    @ashwinthankachan9451 10 หลายเดือนก่อน

    Thank you so much!! I had installed Java twice so thought I had to delete the Java_home and add the Path to Enviornment Variables. Very precise explanation.

  • @satyamrai2577
    @satyamrai2577 ปีที่แล้ว

    Amazing explanation

  • @himrankhan8589
    @himrankhan8589 ปีที่แล้ว

    Thank You very much Information 👍

  • @zedzedder4947
    @zedzedder4947 ปีที่แล้ว

    Is there any way to have the environment variables (paths) as actual variables, so it would just read a file that would be editable manually, without admin access. It's really not practical to create five IT tickets a day when I need to test an application, with different versions of anythin (not just Java). They allow me can install what I need after I ask, really not practical to ask every time I want to switch between versions.

  • @mattmjlg5053
    @mattmjlg5053 ปีที่แล้ว +1

    This was an amazingly useful video
    I messed up my path System variable by copying and pasting a set x from stack overflow that was supposed to fix my problem. It is now deleted all my past and I’m having trouble with all my development programs in the command line
    Is there anyway to recover a deleted path? Also I am not able to even make any changes once I press OK it never saves the information even though I am under administrator level

    • @TomGregoryTech
      @TomGregoryTech  ปีที่แล้ว

      Hi. I haven't seen that before. I once had an issue where Windows wouldn't show the "advanced" PATH editor due to incompatible characters. You could try saving the PATH, emptying it, then starting again one entry at a time.

  • @AI-DroidX
    @AI-DroidX ปีที่แล้ว

    what software u used for screen recording?

  • @deli5777
    @deli5777 2 ปีที่แล้ว

    CLASSPATH? maybe, I am trying to compile and run java but I keep getting class not found

    • @TomGregoryTech
      @TomGregoryTech  2 ปีที่แล้ว

      Yeah, classpath is something different from JAVA_HOME/PATH. Make sure that any libraries (jar files) required by your application are on the classpath.

  • @christopherrimplington3643
    @christopherrimplington3643 8 หลายเดือนก่อน

    is someone watching this due to a problem with Okapi Framework and tools like Rainbow.exe ?
    related with java vm and runtime

  • @tipsbymd
    @tipsbymd ปีที่แล้ว

    So what is use of JAVA_PATH

    • @TomGregoryTech
      @TomGregoryTech  ปีที่แล้ว +1

      There's no such thing as JAVA_PATH. Just JAVA_HOME and PATH.