1。在系统变量中添加CLASSPATH:写D:\develop\Java\jre6\lib;
2.在系统变量中添加JAVA_HOME:写D:\develop\Java\jdk1.6.0_43;
3.在系统变量中添加PATH:写D:\develop\Java\jre6\bin;