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
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
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.
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!
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 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 😊
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 !