Submit a ticketCall us

whitepaperYour VM Perplexities Called, and They Need You to Read This.

Virtualization can give you enormous flexibility with future workloads and can be a key enabler for other areas, like cloud computing and disaster recovery. So, how can you get a handle on the performance challenges in your virtual environment and manage deployments without erasing the potential upside? Learn the four key areas you need to be focusing on to help deliver a healthy and well-performing data center.

Get your free white paper.

Home > Success Center > Database Performance Analyzer (DPA) > DPA - Knowledgebase Articles > Specify the Java installation that DPA uses (Windows)

Specify the Java installation that DPA uses (Windows)

Updated January 16, 2019

Overview

By default, DPA ships with and uses a version of OpenJDK. However, you can choose to use a different supported Java installation. (See the system requirements for your DPA version for the currently supported Java version.) 

 

This article provides instructions for using a different Java installation when DPA is installed on a Windows server. If DPA is installed on a Linux server, see Specify the Java installation that DPA uses (Linux).

Environment

  • DPA installed on a Windows server, all versions

Cause

 

Resolution

  1. Determine the location of the Java executable file (java.exe) that you want DPA to use.
  2. Open this file:
    C:\Program Files\SolarWinds\DPA\iwc\tomcat\ignite_config\java_loc.txt
  3. Locate the line with the full path to the Java executable file. For example:
    C:\Program Files\SolarWinds\DPA\iwc\jre\bin\java.exe
  4. Update the line to point to the full path of the new Java executable file, and save the file.
  5. Remove the DPA Windows Service:
    1. Navigate to C:\Program Files\Solarwinds\DPA.
    2. Execute the removeWindowsService.bat file
  6. Re-add the DPA Windows Service:
    1. Execute the createWindowsService.bat file
  7. To confirm that DPA is using the new Java executable file:
    1. Navigate to C:\Program Files\SolarWinds\DPA\iwc\tomcat\bin.
    2. Execute IgnitePIw.exe and click the Java tab. The Java Virtual Machine option should point to the same directory as the new Java executable file:
      JavaWindows.png

 

 
Last modified

Tags

Classifications

Public