When trying to check the current version of Java in which I am running, I receive the error "'java' is not recognized as an internal or external command, operable program or batch file.".
(尝试检查正在运行的Java的当前版本时,收到错误“无法将Java识别为内部或外部命令,可操作程序或批处理文件”。)
I am running Windows 7 OS and have downloaded the latest JDK and feel I may have accidentally deleted the java from machine as before I was able to check the Java version using the command "java -version".
(我正在运行Windows 7 OS,并且已经下载了最新的JDK,并觉得我可能像从前无法使用命令“ java -version”检查Java版本之前从机器上删除了Java。)
What software must I download to get Java working on my machine again?
(我必须下载什么软件才能使Java在我的计算机上再次运行?)
EDIT:
(编辑:)
I have managed to get Java running from my cmd again after ensuring all environment variables pointed to the current java sdk.
(确保所有环境变量都指向当前java sdk之后,我设法再次从cmd运行Java。)
Thank you for all answers to my question, Karen (谢谢您对我的问题的所有回答,凯伦)
ask by Karen translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…