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

  Рет қаралды 24,965

Jagadeesh Jayachandran

Jagadeesh Jayachandran

Жыл бұрын

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 10 ай бұрын
Thanks! Was trying for quite some time. Finally your video helped!
@sohrawardiofficial
@sohrawardiofficial Жыл бұрын
Extraordinary tutorial. Most helpful content found on youtube. Thank's a lot.
@leniquedomeaca
@leniquedomeaca Жыл бұрын
Thanks for that video, it help me remove duplicates JAVA_HOME path variables
@rahad-ulislamrabby52
@rahad-ulislamrabby52 9 ай бұрын
Thanks a lot vaijan, after many unsuccessful attempts finally I got it. Thank you so much
@user-ue8ie2dt9n
@user-ue8ie2dt9n Жыл бұрын
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
@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.
@imlearninghelppls2544
@imlearninghelppls2544 4 ай бұрын
Your tutorial was very useful!!! Thank you so much!
@buildwithmd9069
@buildwithmd9069 7 ай бұрын
Thanks for this special explanation an helping keep it up
@anup_ghm
@anup_ghm Жыл бұрын
Very helpful thank you...
@bigmugable
@bigmugable 8 ай бұрын
Thanks for the help....
@vyuhalekha1446
@vyuhalekha1446 Жыл бұрын
Thank you!
@PepyHau
@PepyHau 8 ай бұрын
thank u so much bro!!
@mohammadabdullah3480
@mohammadabdullah3480 9 ай бұрын
very informative thanks
@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
@gowrisongs2027
@gowrisongs2027 3 ай бұрын
very helpful thanks
@derikroby7041
@derikroby7041 8 ай бұрын
Thanks !
@sofiiabondarenko6615
@sofiiabondarenko6615 Жыл бұрын
thanks!
@vishalisetia
@vishalisetia Жыл бұрын
Thanks :)
@nikhilsharma512
@nikhilsharma512 Жыл бұрын
best one
@rutwijshorts2883
@rutwijshorts2883 Жыл бұрын
Tq very much
@deepapandey8914
@deepapandey8914 Жыл бұрын
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 6 ай бұрын
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 Жыл бұрын
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!
@RanjitSingh-wp2sn
@RanjitSingh-wp2sn Жыл бұрын
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 Жыл бұрын
@@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.
@bluediamond9543
@bluediamond9543 Жыл бұрын
HI, I Tried same way but tried to copy Home path but that option is not coming , not sure whats wrong;
@JagadeeshJayachandran
@JagadeeshJayachandran Жыл бұрын
What's the error please
@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 6 ай бұрын
Worst. Don't use. It messed up my all environment variable in Macbook. 😠😠😠
@aadityajaiswal811
@aadityajaiswal811 10 ай бұрын
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 10 ай бұрын
this error is getting everytime in my mac terminal and i am unable to fix it
How To Download And Install Maven On MAC
14:29
Mukesh otwani
Рет қаралды 8 М.
How to install Maven on Mac || Set environment variable for Maven
10:36
Codenbox AutomationLab
Рет қаралды 21 М.
I CAN’T BELIEVE I LOST 😱
00:46
Topper Guild
Рет қаралды 102 МЛН
Nutella bro sis family Challenge 😋
00:31
Mr. Clabik
Рет қаралды 11 МЛН
Мы никогда не были так напуганы!
00:15
Аришнев
Рет қаралды 6 МЛН
Me: Don't cross there's cars coming
00:16
LOL
Рет қаралды 14 МЛН
HOW TO SWITCH JAVA VERSION and SET JAVA_HOME PATH ON MAC OS M1 M2
12:01
Automation Step by Step
Рет қаралды 11 М.
How to Install Java on Mac | Install Java JDK on macOS (2024)
16:48
ProgrammingKnowledge
Рет қаралды 91 М.
How to Install Java JDK on Mac OS and set JAVA HOME variable
13:58
Automation Step by Step
Рет қаралды 21 М.
PATH Variable (Mac)
4:15
Susan B.
Рет қаралды 16 М.
How to set JAVA_HOME on Mac | Setting up $JAVA_HOME on macOS (2024)
7:42
ProgrammingKnowledge
Рет қаралды 9 М.
How To Install Maven On Mac OS Step By Step Tutorial
9:00
Jahmal Richard
Рет қаралды 23 М.
Setup Mac laptop - Java JDK & Maven | M1 | M2 PRO MAX
10:56
How To Install Java On MAC M2 | M1 | MACBook Pro
12:36
Mukesh otwani
Рет қаралды 36 М.
I CAN’T BELIEVE I LOST 😱
00:46
Topper Guild
Рет қаралды 102 МЛН