1.首先你输入的命令有错误啊。是java -version 或者是javac -version.2.你的path和ClassPath的路径配的有问题,无法找到java.exe.
是java -version,不是_version,你把-写成_了