Where Is Maven Home in Linux?
Contents Os Location (Can Be Different Based on Your Installation) Windows C: Program Filesapache Software Foundationapache-Maven-3.3.1 Linux...
Contents
| OS | Location (can be different based on your installation) |
|---|---|
| Windows | C:Program FilesApache Software Foundationapache-maven-3.3.1 |
| Linux | /usr/local/apache-maven |
| Mac | /usr/local/apache-maven |
Where is Maven installed?
If you’re sure you have maven on your machine, you need to search where you extracted it. You should search for “mvn. bat” and add the containing folder to your PATH environment variable. If you can’t find it, it wouldn’t hurt to download it again and extract the zip anywhere on your computer.
How do I know if Maven is installed on Linux?
Once Maven is installed, you can check the version by running mvn -v from the command-line. If Maven has been installed, you should see something resembling the following output. If you see this output, you know that Maven is available and ready to be used.