Steps to set environment variables for JAVA and MAVEN on a MAC OS M1

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

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

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

    Thanks! Was trying for quite some time. Finally your video helped!

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

    Your tutorial was very useful!!! Thank you so much!

  • @rahad-ulislamrabby52
    @rahad-ulislamrabby52 Год назад

    Thanks a lot vaijan, after many unsuccessful attempts finally I got it. Thank you so much

  • @VibhutiDeshmukh-m9v
    @VibhutiDeshmukh-m9v Год назад +1

    Thanks a lot. After trying a lot of different methods, your solution worked. Amazing video !!

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

    Thanks for that video, it help me remove duplicates JAVA_HOME path variables

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

    Thanks for this special explanation an helping keep it up

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

    Thank you, you are next to GOD for me. I struggle so much for this but you made it so simple for me.

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

    Thank you sir. After so many hours struggling to setup Java HOME and install Maven I have finally do it correctly thanks to your video. I have subscribed

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

    Thanks for the help....

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

    Very helpful thank you...

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

    very informative thanks

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

    thank u so much bro!!

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

    best one

  • @movietrailer3924
    @movietrailer3924 4 месяца назад

    Bro in my system basics command is also not working like ls what the issue did you know that

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

    very helpful thanks

  • @RanjitSingh-wp2sn
    @RanjitSingh-wp2sn 2 года назад +1

    Hi Jagadeesh, I have done the same as you have demonstrated but my Java works while Maven doe not... it says. command not found: mvn. Can you help please.

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

      Sure, here is the steps can you double check link.medium.com/mhOBaItaRvb

    • @RanjitSingh-wp2sn
      @RanjitSingh-wp2sn 2 года назад +1

      @@JagadeeshJayachandran so I have done this:
      export MAVEN_HOME=/Library/apache-maven-3.8.6
      export M2=$MAVEN_HOME/bin
      export PATH=$M2:$PATH
      And it works 😊

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

      @@RanjitSingh-wp2sn perfect, thanks for sharing the steps it might help others if they face an issue.

  • @MuskanGarg-c1x
    @MuskanGarg-c1x Год назад

    Hi Sir, i have installed the samw way, but while doing mvn -version, getting correct version, but the runtime value is not pointing to jre? pls help

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

    thanks!!!!

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

    Thank you!

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

    Thanks !

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

    Hi Jagadeesh, following your video, i did similar steps for java and maven installation, but in the last step, when i tried to run mvn -version , it gave error : zsh: command not found: mvn. Can you please suggest what can be done to resolve this.
    PS: echo $MAVEN_HOME gives - /Library/apache-maven-3.9.1
    echo $JAVA_HOME gives - /Library/Java/JavaVirtualMachines/jdk-20.jdk/Contents/Home

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

      Even I'm facing the same issue
      If you have got any solution for it then please suggest me

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

    I'm new to Java, I have one question, on the Video you mentioned you need version 1.8, but you are showing on your screen Java version 19. Can some one explain to me how the versions works? I'm so confused with this.

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

      Hi Jonatan, You are right about me showing the Java version 19 while mentioning Java version 1.8, sorry for the confusion, if you keep watching the video I did scroll the page down to Java 8 (aka 1.8). JDK 19 is the latest version, however, Java 8 is a bit old, you can also use the latest one. Please let me know if any questions!

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

    HI, I Tried same way but tried to copy Home path but that option is not coming , not sure whats wrong;

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

    thanks!

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

    Thanks :)

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

    Tq very much

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

    sir step 11 finally not showing the path

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

      remaining and all done, only final final step the path was not showing

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

    Worst. Don't use. It messed up my all environment variable in Macbook. 😠😠😠

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

    Last login: Thu Aug 24 14:53:59 on ttys000
    /Users/aadi/.zshrc:export:5: not valid in this context: /Library/Java/JavaVirtualMachines/jdk-20.jdk/Contents/bin:/Library/Frameworks/Python.framework/Versions/3.11/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin
    Help me out please !

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

      this error is getting everytime in my mac terminal and i am unable to fix it