系统win7-64位。当时我配置好的坏境变量是这样的:JAVA_HOME C:Program FilesJavajdk1.7.0_17
CLASSPATH .;%JAVA_HOME%libdt.jar;%JAVA_HOME%lib ools.jar;
PATH %JAVA_HOME%in;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSsystem32Wbem;C;Tclin;%JAVA_HOME%in; %JAVA_HOME%jrein;C:Program Files (x86)Androidandroid-sdk ools;%JAVA_HOME%in;
后来PATH改成这样就好了:%JAVA_HOME%in;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSsystem32Wbem;C;Tclin;%JAVA_HOME%in; %JAVA_HOME%jrein;C:Program Files (x86)Androidandroid-sdk ools;C:Program FilesJavajdk1.7.0_17in;