Glassfish et Ant installation
Bonjour a tous,
J'ai un soucis en installant Glassfish et Ant, j'ai le message d'erreur suivant quand je lance la commande ant -f setup.xml
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
D:\developpement\glassfish\glassfish>ant -f setup.xml
Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre1.6.
0_01\lib\tools.jar
Buildfile: setup.xml
all:
get.java.home:
setup.init:
check-java:
get.java.home:
setup.init:
validate-java:
[echo] Current Java Version 1.6.0_01
BUILD FAILED
D:\developpement\glassfish\glassfish\setup.xml:142: The following error occurred
while executing this line:
D:\developpement\glassfish\glassfish\setup.xml:122: The following error occurred
while executing this line:
D:\developpement\glassfish\glassfish\setup.xml:118: Please set java.home to a JD
K installation
Total time: 1 second
D:\developpement\glassfish\glassfish>set java.home=C:\Sun\SDK\jdk\bin |
Pourtant mes variables d'environnements semblent correct
Code:
1 2 3 4 5
| D:\developpement\glassfish\glassfish>echo %JAVA_HOME%
C:\Sun\SDK\jdk\bin
D:\developpement\glassfish\glassfish>echo %ANT_HOME%
D:\developpement\Ant\ant-current-bin\apache-ant-1.7.0 |