ANT configuration Ant_home is set incorrectly or ANT could not located_ant configuration

Source: Internet
Author: User
The reason ant almost got killed.

When I built ANT, I did it for half a day, and it was still an error in the command line: Ant_home is set incorrectly or ANT could isn't be located. Please set ant_home. I check the steps:

1, JDK installed Ah, java_home configuration ah: java_home:e:\java\jdk1.5.0_06;

2, Ant decompression in e: Disk AH

3, Path added to Ant's Bin directory ah: path:e:\ant\apache-ant-1.8.1\bin;

4, environment variable ant_home is also to ANT decompression directory yes: ant_home:e:\ant\apache-ant-1.8.1;

I faint ... You guess what, ant_home configuration, can not add a semicolon; I removed the semicolon, oak. Hey......

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.