Linux Configuration Environment Report "/usr/local/develop-tools/apache-maven-3.3.9/bin: is a directory" solution

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.