setting up environment variables in windows 7 for java and ant

前端 未结 4 762
北海茫月
北海茫月 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

    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;
    

提交回复
热议问题