Windows can not find '\bin\ssvagent.exe'

末鹿安然 提交于 2019-12-11 17:34:45

问题


I have type the following on my windows 7 CMD:_

javaws -viewer

But the following error was raised:- "Windows can not find '\bin\ssvagent.exe' ", so what is going wrong?


回答1:


There are two easy ways to run your command properly:

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) If you only need to use this once or twice then you will need to naviagte to the jre bin folder, using: cd "[path tojrebin folder]" example: cd "C:\Program Files (x86)\Java\jre7\bin"

Once you have done that, you can use your command: javaws -viewer


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

If for some reason the above options don't help, then you need to reinstall java



来源:https://stackoverflow.com/questions/12301643/windows-can-not-find-bin-ssvagent-exe

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!