Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI SQL Client JDBC

Verify Java version

  • Last UpdatedJan 04, 2023
  • 1 minute read

In Java, older versions remain installed for compatibility. Programs can explicitly reference an older version or use the general path that should, but do not always, give you the latest version installed. Therefore, even if you updated the Java version to 8 or later, you may still be referencing an older version of Java. Use the following procedure to verify the version and architecture before using it with PI SQL Client JDBC.

  1. In a Command Prompt window, type java -version and press Enter.

    You should see output such as:

    java version "1.8.0-171"
    Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
    Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)

  2. If the correct version is not displayed, you can either update the default path to the correct version or use the absolute path to the correct version.

Related Links
TitleResults for “How to create a CRG?”Also Available in