Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7619751
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T03:45:59+00:00 2026-05-31T03:45:59+00:00

I have a book that says to do the following. Add a JAVA_HOME and

  • 0

I have a book that says to do the following.

  1. Add a JAVA_HOME and ANT_HOME environment variable. – check
  2. Add $JAVA_HOME/bin and $ANT_HOME/bin to my path variable – check

When I then go to the command prompt and try ant -version it says ant is not a recognized command. If I then take the value I plugged into the ANT_HOME variable and use it in place of $ANT_HOME it all works. Is this the way it’s supposed to work in windows? I’m not sure so I just figured that whatever was put in ANT_HOME was then parsed in the path variable when used as $ANT_HOME. Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T03:46:00+00:00Added an answer on May 31, 2026 at 3:46 am

    you can try the following:

    SET ANT_HOME=my_path_to_ant_folder
    SET JAVA_HOME=my_path_to_jdk_folder
    SET PATH=%PATH%;%ANT_HOME%/bin;%JAVA_HOME%\bin;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a book class, then a novel- and a science book class that
I'm new here to stackoverflow, so bear with me. I have a book that
The book that I purchased to help with my SSIS understanding seems to have
I am working through the examples in a Django book that I have, but
I have a book, Essential ActionScript 3 (O'Reilly), to learn about using that language.
I'm new to C. I have a book in front of me that explains
I'm working through the Grails In Action book and have noticed 2 instances that
The code below works great. I have a MySQL database that contains book titles
I have a Person model that has a foreign key relationship to Book ,
I have an iPhone application that adds new contacts via the Address Book Framework.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.