这种情况一般是由于应用程序无法定位本机上的虚拟机造成的:下面是有人解决卸载Skill Test时所用的方法。
其他应用程序可以使用相同的方法解决。
When uninstalling Silk Test, the following error message might display:
"Windows error 2 occurred while loading the Java VM"
This means that the uninstall procedure cannot find the Java VM or the present Java version cannot be used by the uninstaller for some reason.
Perform the following actions to fix this issue and to successfully uninstall Silk Test:
- Open the Silk Test installation directory. For example C:Program Files (x86)SilkSilkTest.
- Open the folder ng.
- Copy the folder jre to another location, for example to C:Temp.
- In the Silk Test installation directory, open the folder Uninstall_SilkTest.
- Open the file Uninstall SilkTest [VERSION].lax in an editor.
- Find the property lax.nl.current.vm.
- Change the value of the property to the path to the file java.exe in the copied folder jre. For example, type lax.nl.current.vm=c:\temp\jre\bin\java.exe.
- Uninstall Silk Test.
- Delete the copied jre folder.