How to Install Maven on macOS - Step by Step Guide

  Рет қаралды 12,723

Begin Secure

Begin Secure

Күн бұрын

Пікірлер: 48
@joemorgan6504
@joemorgan6504 Жыл бұрын
This video was a lifesaver friend. I was unable to run maven commands from the terminal in VSCode even with the default wrapper from an extension. As someone who has recently switched to a Mac product and is still finding their feet, this is the single best resource I could find for installing on Ventura. Thank you
@beginsecure
@beginsecure Жыл бұрын
So glad to hear it helped!! Thanks for watching and all the best!!
@yl66888
@yl66888 2 жыл бұрын
I have searched for how to install maven for hours(can't use homebrew because I am using MacOs 10.14) You are so helpful! Thanks so much!
@beginsecure
@beginsecure 2 жыл бұрын
Glad I could help!
@JustinCreighton-jk4kg
@JustinCreighton-jk4kg 10 ай бұрын
For those that may get stuck after the etc/path command, you may need to press the [esc] key to be able to edit your file and hit it again in order to enter the command to write and quit. Other than that, this is the most helpful tutorial I have found on this topic. 👍👍
@beginsecure
@beginsecure 10 ай бұрын
Thanks for that! I'm going to put together a video on vi/vim. I have a short on the topic that covers the basics.
@bhavilahuja7092
@bhavilahuja7092 Жыл бұрын
You saved the day bro. Thanks a lot!
@beginsecure
@beginsecure Жыл бұрын
That's great to hear, glad it helped!!
@IvanIvanov07
@IvanIvanov07 11 ай бұрын
Thank you! So heplful video!
@beginsecure
@beginsecure 11 ай бұрын
Glad it was helpful! Thanks for watching!!
@piknix
@piknix Жыл бұрын
thank you for the tutorial. saved me a lot of time.
@beginsecure
@beginsecure Жыл бұрын
Glad it helped! Thanks for watching!!
@AA-mn9ss
@AA-mn9ss 2 жыл бұрын
I got stuck @ 5:53 since in the normal terminal (not sure what type of terminal you are using) you can't click below /sbin to paste. How do you get around that? I terminated the terminal after that, will that mess anything major up?
@beginsecure
@beginsecure 2 жыл бұрын
It's a vi command thing. If you use lowercase o, it will open a blank line below the current line. Then you can add whatever you like, write quit and save. It's unlikely you messed anything up. Good luck and thanks for watching.
@raziak2600
@raziak2600 Жыл бұрын
Hey, stuck at 3:11. I keep getting the message operation not permitted. Do you know what the issue may be?
@beginsecure
@beginsecure Жыл бұрын
I haven't seen it myself, but I found this pate that sounds like your problem: osxdaily.com/2018/10/09/fix-operation-not-permitted-terminal-error-macos/ Go through the steps and see if it fixes things. Thanks for watching!!
@ivantodorov9136
@ivantodorov9136 Жыл бұрын
Great video man! Keep up the good work.
@beginsecure
@beginsecure Жыл бұрын
Thanks so much @ivantodorov9136!! Appreciate you taking the time to comment!!
@ivantodorov9136
@ivantodorov9136 Жыл бұрын
​@@beginsecure I start learning java one year ago, and we have a Unit Testing lectures in a few days, but no one told us how to install maven, and it can me quite confusing at first. So yeah, your video was lifesavor, and the comment is the least i can do. Cheers from Bulgaria. P.s. Sorry for my english.
@brianhigdon1428
@brianhigdon1428 Жыл бұрын
@@ivantodorov9136 😄😄
@MykolaVasylyniuk-uh7ls
@MykolaVasylyniuk-uh7ls 2 жыл бұрын
This is really good! Thank you.
@beginsecure
@beginsecure 2 жыл бұрын
Glad you like it! Thanks for watching!!
@ItsmenikhilKr
@ItsmenikhilKr Жыл бұрын
what u did at 4:01 please help me with the key u pressed I cant get it
@beginsecure
@beginsecure Жыл бұрын
Sure, to jump to the end of the line, I entered (capital A) when in edit mode. Would a video on vi be useful to you?
@RamenandRunning
@RamenandRunning 6 ай бұрын
awesome video, youre getting me closer to running this. although when you type 'ls' after downloading maven and then checksums, terminal just returns things like 'downloads', 'desktop', 'documents', 'library' instead of the two downloads. any help here?
@beginsecure
@beginsecure 6 ай бұрын
Thank you for your feedback! Here are a few steps to help resolve the issue where 'ls' returns directories like 'Downloads', 'Desktop', 'Documents', 'Library' instead of the expected downloaded files: 1. Ensure the downloaded Maven files are in the correct directory. By default, downloads often go to the "Downloads" folder. Navigate there using: cd ~/Downloads and then run ls See if that helps you find the file. Write back and let me know. Good luck!
@RamenandRunning
@RamenandRunning 6 ай бұрын
@@beginsecure i think i am up to speed now, i missed that in terminal you had previously entered 'cd Downloads' which is why it wasnt searching my downloads. ill reply back here if i have any further issues. thank you for the speedy reply!
@alizaenalabidin544
@alizaenalabidin544 Жыл бұрын
thx so much bro nice tutorial but i have a note for everyone if is a begginer and its the first time to set up maven : "For save every you change in "vi" click ESC button and write :x to save and exit but if you want just save write like on the video :w"
@beginsecure
@beginsecure Жыл бұрын
I sometimes suffer from the "curse of knowledge" and forget others aren't as familiar with some of the commands like vi. I'll add a video topic on vi/vim essentials to my backlog. Thanks for the comment and for watching!!
@unalysuf
@unalysuf Жыл бұрын
Hello, I got stuck in 3:30 after "vi tempfile" command, I can't delete anything or write. Can you help me please ?
@beginsecure
@beginsecure Жыл бұрын
Hi Yusuf, thanks for watching. Vi can be confusing to use. My suggestion is to skip the checksum comparison, jump to 4:26 in the video, and continue with the installation. Good luck, and let me know if you get it working!!
@unalysuf
@unalysuf Жыл бұрын
@@beginsecure Hello again, Actually after a little bit searching for vi, I finished checksum step, and continued your video, and I got it working. Thank you so much for this very helpful informations
@beginsecure
@beginsecure Жыл бұрын
@@unalysuf Glad everything worked out.😃 Thanks again for watching!!
@tomiboul5217
@tomiboul5217 2 ай бұрын
I have a problem…there is a difference between 2 files…What I suppose to do ( sorry for my bad English and thanks for your response)
@beginsecure
@beginsecure 2 ай бұрын
Hello, if I understand, the version I installed in the video is older than the version you found when you went to search for it, is that right? If so, that's fine, new releases are coming out all the time, so use the latest that works for your platform. If the question is something else, let me know. Thanks for watching!
@jayahandikadarussalam3329
@jayahandikadarussalam3329 Жыл бұрын
The goal you specified requires a project to execute but there is no POM in this directory (/Users/jayahandikadarussalam/mvnproject). Please verify you invoked Maven from the correct directory. To see the full stack trace of the errors, re-run Maven with the -e switch. Re-run Maven using the -X switch to enable full debug logging. I got build failure, can you help me?
@beginsecure
@beginsecure Жыл бұрын
It sounds like the directory location where you are running the mvn command does not have a pom.xml file. Double check your setup and try again.
@jayahandikadarussalam3329
@jayahandikadarussalam3329 Жыл бұрын
@@beginsecure Its work now, thx for the reply
@brianhigdon1428
@brianhigdon1428 Жыл бұрын
@@jayahandikadarussalam3329 Great job. Way to be persistent and get it fixed!! Take care!!
@SofiiaNesterenko
@SofiiaNesterenko Жыл бұрын
THANKKKKKKS!!!!
@beginsecure
@beginsecure Жыл бұрын
😁😁😁 I appreciate you!!
@beginsecure
@beginsecure 2 жыл бұрын
Thanks for watching!
@eternalflames911
@eternalflames911 Жыл бұрын
How do i access the command line?
@beginsecure
@beginsecure Жыл бұрын
Good question...from the finder, on the top of the screen in the search box, type in terminal and you'll get a window to appear. Another way is: Press Command + Spacebar to open Spotlight Search. Type "Terminal" and press Enter when "Terminal" appears in the search results. Thanks for watching!!
@wizzardg62
@wizzardg62 Жыл бұрын
When I use vi /ect/paths . It shows a blank page and It doesn't allow me to write on it. What's going on?
@beginsecure
@beginsecure Жыл бұрын
Hello! It sounds like you might be trying to edit a file that doesn't exist. Make sure you're typing the file path correctly. The correct path is /etc/paths. Also, ensure you have the necessary permissions to edit the file. Thanks for watching!
@wizzardg62
@wizzardg62 Жыл бұрын
Idk man . Im so triggered. I’ve been trying for 5 hours and i cant make it work.
@beginsecure
@beginsecure Жыл бұрын
to edit the correct file, use the command sudo vi /etc/paths. Remember, using sudo will prompt you for your password as it requires administrative privileges to edit system files. If you're still facing issues, it's possible that the file might be protected or you don't have the necessary permissions. In that case, checking your user permissions or consulting with a system administrator might be helpful. Let me know if you need more guidance, and I'm here to help!
How To Install Maven On Mac OS Step By Step Tutorial
9:00
Jahmal Richard
Рет қаралды 24 М.
How To Download And Install Maven On MAC
14:29
Mukesh otwani
Рет қаралды 21 М.
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
NEVER install these programs on your PC... EVER!!!
19:26
JayzTwoCents
Рет қаралды 4,7 МЛН
How to install Maven on Mac without Homebrew | Mac M1 M2 Pro
7:25
How to install Maven on Mac || Set environment variable for Maven
10:36
Codenbox AutomationLab
Рет қаралды 26 М.
Problems You will Encounter on Linux (and How to Solve Them)
23:01
Rob Braxman Tech
Рет қаралды 174 М.
Use Spring Boot 3.0 and IntelliJ to Create a RESTful Web Service
12:13
The Slow Death of Windows
17:22
TechAltar
Рет қаралды 1,1 МЛН
Linux Project: Poor Man's GitHub
15:38
tutoriaLinux
Рет қаралды 6 М.
How to Install Homebrew on Mac | How to Install brew on macOS
9:02
ProgrammingKnowledge
Рет қаралды 35 М.