1.5以后更智能了。spa
设置了classpath以后,当前目录失效(在classpath中没找到就报错,不会再在当前目录继续找),因此要把当前目录添加到classpath,永久环境变量添加 .,临时环境变量(cmd)添加 ;cmd