Install in Maven
To configure the system environment variables:
VI + profilem2_home=/usr/local/develop-tools/apache-maven-3.3. 9 export m2_homePATH = $PATH; $M 2_home/ //Just change the delimiter between path and path to: ":"/etc/profile/usr/local/develop-tools/apache-maven-3.3. 9/bin: is a directory
The operating habits of windows are ingrained, and many video tutorials are based on windows, and it's no surprise that there are low-level errors. This kind of low-level error is difficult to find, fortunately, there is a good habit-back to check, step by step.
Careful analysis can also analyze the problem: Execute "source/etc/profile" notification system, please system reload/etc/profile, let the change environment variable to take effect, but between the path and the path is ";" Apart, and ";" means that the execution of a statement is complete, and after executing a statement here, a file path is executed at the command line, which is, of course, a "directory" error.
Linux Configuration Environment Report "/usr/local/develop-tools/apache-maven-3.3.9/bin: is a directory" solution