Windows 找不到“\bin\ssvagent.exe" [英] Windows can not find '\bin\ssvagent.exe'
问题描述
我在 Windows 7 CMD 上输入了以下内容:_
I have type the following on my windows 7 CMD:_
javaws -viewer
但是出现了以下错误:-Windows 找不到 '\bin\ssvagent.exe'",所以出了什么问题?
But the following error was raised:- "Windows can not find '\bin\ssvagent.exe' ", so what is going wrong?
推荐答案
有两种简单的方法可以正确运行您的命令:
There are two easy ways to run your command properly:
1) 为了永久修复,您需要将 java bin 文件夹添加到您的 windows calsspath 中.然后当你使用 javaws 命令时,它就会知道 ssvagent.exe 文件所在的位置.
1) For a permanent fix you need to add the java bin folder you your windows calsspath. Then when you use the javaws command it will know where the ssvagent.exe file is located.
2) 如果您只需要使用一次或两次,那么您需要导航到 jre bin 文件夹,使用:cd "[path to
jre
bin 文件夹]"
示例:cd "C:\Program Files (x86)\Java\jre7\bin"
2) If you only need to use this once or twice then you will need to naviagte to the jre bin folder, using: cd "[path to
jre
bin folder]"
example: cd "C:\Program Files (x86)\Java\jre7\bin"
完成后,您可以使用命令:javaws -viewer
Once you have done that, you can use your command: javaws -viewer
有关将 java 添加到类路径的更多信息:
More info about adding java to your classpath:
- http://www.ehow.com/how_7166816_set-up-java-classpath-windows.html
- http://docs.oracle.com/javase/1.5.0/docs/tooldocs/windows/classpath.html
如果由于某种原因上述选项没有帮助,那么您需要重新安装java
If for some reason the above options don't help, then you need to reinstall java
这篇关于Windows 找不到“\bin\ssvagent.exe"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!