在环境变量中添加如下:
Path D:Program FilesJavajdk1.6.0_26inJAVA_HOME D:Program FilesJavajdk1.6.0_26CLASSPATH .;%JAVA_HOME%lib ools.jar;%JAVA_HOME%libdt.jar;