zoukankan      html  css  js  c++  java
  • 安装或卸载出现"Windows error 2 occured while loading the Java VM"时解决办法

    这种情况一般是由于应用程序无法定位本机上的虚拟机造成的:下面是有人解决卸载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:

    1. Open the Silk Test installation directory. For example C:Program Files (x86)SilkSilkTest.
    2. Open the folder ng.
    3. Copy the folder jre to another location, for example to C:Temp.
    4. In the Silk Test installation directory, open the folder Uninstall_SilkTest.
    5. Open the file Uninstall SilkTest [VERSION].lax in an editor.
    6. Find the property lax.nl.current.vm.
    7. 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.
    8. Uninstall Silk Test.
    9. Delete the copied jre folder.
  • 相关阅读:
    First blog
    MyBatis Generator 配置详解
    JQueryValidate添加自定义方法校验密码
    MySQL学习(二)
    JVM原理讲解和调优
    一道HashMap面试题
    Nginx配置文件详细说明
    springboot系列文章之实现跨域请求(CORS)
    java多线程中的synchronized的byte[0]
    JVM常用命令
  • 原文地址:https://www.cnblogs.com/ling00218077/p/5446897.html
Copyright © 2011-2022 走看看