A jar is not recognized error appears when installing the Performance Overview plug-in

简介:

A jar is not recognized error appears when installing the Performance Overview plug-in

Symptoms

  • Installing the Performance Overview plug-in fails
  • You receive an error when installing the Performance Overview plug-in:
    jar is not recognized

  • When running the command install.bat <VirtualCenter_Username> <VirtualCenter_Password> an error occurs:

    1. Gather environment data...
    Status: [OK]
    2. Configure statsreport.war...
    'jar' is not recognized as an internal or external command,
    operable program or batch file.
    Setup has been terminated because the statsreport.war file could not be configured.
    Press any key to continue

Resolution

This issue is caused by an incorrect Java path.
 
To resolve the issue:
  1. Run the uninstall script:
    uninstall.bat <VirtualCenter_Username> <VirtualCenter_Password>

  2. Correct the path. Check for syntax errors when typing C:\Program Files\Java\jdk1.6.0_11\bin\.

  3. If Java is installed in another location, enter the correct path.
    For example, set path=D:\Applications\Java\jdk1.6.0_11\bin\.

  4. Verify the path from the DOS command prompt:
    echo %PATH%

  5. Log in to the VirtualCenter server again. If the change did not take effect, reboot the system.
  6. Run the Performance Overview plug-in installation script:
    install.bat <VirtualCenter_Username> <VirtualCenter_Password>
     

适用环境: ESXI 3.5 update 4










本文转自 hz022 51CTO博客,原文链接:http://blog.51cto.com/hz022/392254,如需转载请自行联系原作者
目录
相关文章
|
4月前
|
Java Linux Shell
【Azure 应用服务】部署Jar到App Service for Linux,因启动命令路径配置错误而引起:( Application Error 问题
【Azure 应用服务】部署Jar到App Service for Linux,因启动命令路径配置错误而引起:( Application Error 问题
|
IDE Java 开发工具
解决IntelliJ IDEA报错Error:Cannot determine path to ‘tools.jar‘ library for 17 (D:/JAVA)
解决IntelliJ IDEA报错Error:Cannot determine path to ‘tools.jar‘ library for 17 (D:/JAVA)
1590 0
|
Java Maven Android开发
解决警告: Failed to scan JAR[...] java.util.zip.ZipException: error in opening zip file
解决警告: Failed to scan JAR[...] java.util.zip.ZipException: error in opening zip file
|
应用服务中间件
Error running ‘Tomcat 9.0.33‘: Can‘t find catalina.jar
Error running ‘Tomcat 9.0.33‘: Can‘t find catalina.jar
292 1
|
开发工具
Unknown error: Unable to build: the file dx.jar was not loaded from the SDK folder!
Unknown error: Unable to build: the file dx.jar was not loaded from the SDK folder!
123 0
|
开发工具
Unknown error: Unable to build: the file dx.jar was not loaded from the SDK folder!
Unknown error: Unable to build: the file dx.jar was not loaded from the SDK folder!
467 0
|
缓存
Error:Could not download ecj.jar : No cached version available for offline mode
Error:Could not download ecj.jar : No cached version available for offline mode
261 0
Error:Could not download ecj.jar : No cached version available for offline mode
JRebel-JVMTI [ERROR] You’re using an incompatible ‘jrebel.jar’ with the JRebel Agent.【完美解决方案】
JRebel-JVMTI [ERROR] You’re using an incompatible ‘jrebel.jar’ with the JRebel Agent.【完美解决方案】
JRebel-JVMTI [ERROR] You’re using an incompatible ‘jrebel.jar’ with the JRebel Agent.【完美解决方案】