setting up environment variables in windows 7 for java and ant

前端 未结 4 761
北海茫月
北海茫月 2021-01-21 12:45

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 va
4条回答
  •  花落未央
    2021-01-21 13:32

    1. right click My Computer
    2. click Properties
    3. go to Advanced system settings
    4. click on Advanced tab
    5. click on Environment Variables
    6. click on New...

    Now you can define an environment variable, type JAVA_HOME in Variable name and in Variable value the path to you JAVA_HOME, the same thing goes for ANT_HOME.

提交回复
热议问题