HP

HPjmeter 4.1 User's Guide

English
  HPjmeter 4.1 User's Guide > Chapter 10 Troubleshooting   

Installation

  • The HPjmeter installer does not include its own Java runtime. Instead, during installation, the installer locates a Java runtime that is appropriate for running the console, and embeds the path to that JRE into the listed scripts.

    HPjmeter fails to start if you move or delete the JRE after you install.

    To fix this problem, you can make either of these changes:

    • Reinstall a JRE in the expected location specified in the HPjmeter scripts.

    • Edit the HPjmeter scripts to specify the path to an existing JRE.

      The scripts containing the path to the JRE are in the location defined by JM_JAVA_HOME in the bin/ directory. These are the scripts:

      • hpjmeter - Runs the HPjmeter GUI console.

      • run_simple_jvmagent - Runs a simple Java program together with the HPjmeter JVM agent.

      • setup_jvmagent_environment- Displays a sample command line for starting Java with the JVM agent.

      See also To Take Advantage of Dynamic Attach.

  • If you have problems installing the HPjmeter console, you can gather additional information by adding command-line options to the installation process:

    1. Using a specific JRE:

      hpjmeter_console_4.1.00.00_*_setup[.exe|.sh] -is:javahome <path to Java>

      (On Windows, the <path to Java> might be C:\Program Files\jre6.)

    2. Generate a log file from the installer:

      hpjmeter_console_4.1.00.00_*_setup[.exe|.sh] -is:log  <log file name>
    3. View the Java console:

      hpjmeter_console_4.1.00.00_*_setup[.exe|.sh] -is:javaconsole