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

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ก.ย. 2024
  • All the details and steps are mentioned in the below blogs,
    For JAVA_HOME: / how-to-set-up-a-java-e...
    FOR MAVEN_HOME: / ho-to-set-up-a-maven-e...

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

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

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

  • @user-ue8ie2dt9n
    @user-ue8ie2dt9n ปีที่แล้ว +1

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

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

  • @rahad-ulislamrabby52
    @rahad-ulislamrabby52 11 หลายเดือนก่อน

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

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

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

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

  • @imlearninghelppls2544
    @imlearninghelppls2544 6 หลายเดือนก่อน

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

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

    Thanks for this special explanation an helping keep it up

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

    Very helpful thank you...

  • @mohammadabdullah3480
    @mohammadabdullah3480 11 หลายเดือนก่อน

    very informative thanks

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

    Thanks for the help....

  • @gowrisongs2027
    @gowrisongs2027 5 หลายเดือนก่อน

    very helpful thanks

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

    best one

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

    thank u so much bro!!

  • @derikroby7041
    @derikroby7041 11 หลายเดือนก่อน

    Thanks !

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

    Thank you!

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

    thanks!

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

    Tq very much

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

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

  • @user-mf9dm4gr7g
    @user-mf9dm4gr7g ปีที่แล้ว

    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

  • @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 8 หลายเดือนก่อน

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

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

    Thanks :)

  • @RanjitSingh-wp2sn
    @RanjitSingh-wp2sn ปีที่แล้ว +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  ปีที่แล้ว

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

    • @RanjitSingh-wp2sn
      @RanjitSingh-wp2sn ปีที่แล้ว +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  ปีที่แล้ว

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

  • @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 ปีที่แล้ว

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

  • @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 8 หลายเดือนก่อน

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

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

    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 !

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

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