Top
Enterprise Postgres 17 SP1 Application Development Guide

2.2.1 Environment Settings

Configuration of the CLASSPATH environment variable is required as part of the runtime environment for JDBC drivers.

The name of the JDBC driver file is as follows:

postgresql-jdbc42.jar

Same name whether you use JDK 8, JRE 8, JDK 11, JRE 11, JDK 17, JRE 17, JDK 21 or JRE 21 environment.

The examples below show how to set the CLASSPATH environment variable.

Note that "<x>" indicates the product version.