Not sure if you missed the special signs ...
Path:   %ANT_HOME%\bin;%JAVA_HOME%\bin

Execute "set path" and have a look if java-bin and ant-bin directories are 
listed.

Jan

-----Ursprüngliche Nachricht-----
Von: John W <jw79...@gmail.com> 
Gesendet: Donnerstag, 26. Dezember 2019 21:33
An: user@ant.apache.org
Betreff: Windows 10 Ant not recognized as internal or external command only 
with normal user

Hi
I have two account on Windows 10 pro named Admin(it's admin account)  and 
Arthur (normal user) Ant works only on Admin account. On Arthur account cmd.exe 
doesn't recognize Ant.bat I' ve installed Ant and JDK 13 on Arthur account and 
double checked environments variables like ANT_HOME and JAVA_HOME and 
ANT_HOME\bin no misspelling found.

In summary :
User Variables for Arthur
ANT_HOME    C:\Ant\apache-ant-1.10.7
JAVA_HOME   C:\Program Files\Java\jdk-13.0.1
Path                 ANT_HOME\bin

User Variables for Admin
ANT_HOME    C:\Ant\apache-ant-1.10.7
JAVA_HOME   C:\Program Files\Java\jdk-13.0.1
Path                 ANT_HOME\bin

cmd.exe recognizes Ant.bat only on Admin account OR If I run as Admin the cmd 
of the Arthur ( normal user account) ant work Been at it for two days , Can you 
help me please?
Thank all


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to