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,如需转载请自行联系原作者
目录
相关文章
|
26天前
|
Java Linux Shell
【Azure 应用服务】部署Jar到App Service for Linux,因启动命令路径配置错误而引起:( Application Error 问题
【Azure 应用服务】部署Jar到App Service for Linux,因启动命令路径配置错误而引起:( Application Error 问题
|
10月前
|
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)
1049 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
239 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!
106 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!
373 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
230 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.【完美解决方案】
|
Java Maven
如何处理Maven build时的error message Unable to locate the Javac Compiler in tools.jar
如何处理Maven build时的error message Unable to locate the Javac Compiler in tools.jar
如何处理Maven build时的error message Unable to locate the Javac Compiler in tools.jar

热门文章

最新文章