Binary JAR file downloads of the JDBC driver are available here and the current version with Maven Repository. Because Java is platform neutral, it is a simple process of just downloading the appropriate JAR file and dropping it into your classpath. Source versions are also available here for recent driver versions. Prior to the 8.0 release the JDBC driver was distributed with the server source code.
This is the current version of the driver. Unless you have unusual requirements (running old applications or JVMs), this is the driver you should be using. It supports Postgresql 7.2 or newer and requires a 1.6 or newer JVM. It contains support for SSL and the javax.sql package. If you are using the 1.6 then you should use the JDBC4 version. If you are using 1.7 then you should use the JDBC41 version. If you are using 1.8 then you should use the JDBC42 versionIf you are using a java version older than 1.6 then you will need to use a JDBC3 version of the driver, which will by necessity not be current
JDBC4 Postgresql Driver, Version 9.4-1204
JDBC41 Postgresql Driver, Version 9.4-1204
JDBC42 Postgresql Driver, Version 9.4-1204
JDBC3 Postgresql Driver, Version 9.3-1103
Many other versions of the JDBC driver are available. This includes development versions, compatibility with older JDKs, and previous versions of the driver.
To determine JDK/JVM compatibility this following list matches up versions of the JVM with the JDBC specification implemented.
Version | JDBC 2 | JDBC 2 EE | JDBC 3 | JDBC 4 | JDBC 41 | JDBC 42 | Source |
---|---|---|---|---|---|---|---|
9.4 Build 1204 | 9.4-1204 JDBC 4 | 9.4-1204 JDBC 41 | 9.4-1204 JDBC 42 | 9.4-1204 JDBC Source | |||
9.4 Build 1203 | 9.4-1203 JDBC 4 | 9.4-1203 JDBC 41 | 9.4-1203 JDBC 42 | 9.4-1203 JDBC Source | |||
9.4 Build 1202 | 9.4-1202 JDBC 4 | 9.4-1202 JDBC 41 | 9.4-1202 JDBC 42 | 9.4-1202 JDBC Source | |||
9.3 Build 1104 | /td> | 9.3-1104 JDBC 4 | 9.3-1104 JDBC 41 | 9.3-1104 JDBC Source | |||
9.3 Build 1103 | 9.3-1103 JDBC 3 | 9.3-1103 JDBC 4 | 9.3-1103 JDBC 41 | 9.3-1103 JDBC Source | |||
9.2 Build 1004 | 9.2-1004 JDBC 3 | 9.2-1004 JDBC 4 | 9.2-1004 JDBC 41 | 9.2-1004 JDBC Source | |||
9.1 Build 903 | 9.1-903 JDBC 3 | 9.1-903 JDBC 4 | 9.1-903 JDBC Source | ||||
9.0 Build 802 | 9.0-802 JDBC 3 | 9.0-802 JDBC 4 | 9.0-802 JDBC Source | ||||
8.4 Build 703 | 8.4-703 JDBC 3 | 8.4-703 JDBC 4 | 8.4-703 JDBC Source | ||||
8.3 Build 607 | 8.3-607 JDBC 2 | 8.3-607 JDBC 2EE | 8.3-607 JDBC 3 | 8.3-607 JDBC 4 | 8.3-607 JDBC Source | ||
8.2 Build 512 | 8.2-512 JDBC 2 | 8.2-512 JDBC 2EE | 8.2-512 JDBC 3 | 8.2-512 JDBC 4 | 8.2-512 JDBC Source |
Version | JDBC 1 | JDBC 2 | JDBC 2 EE | JDBC 3 | Source |
---|---|---|---|---|---|
8.1 Build 415 | 8.1-415 JDBC 2 | 8.1-415 JDBC 2EE | 8.1-415 JDBC 3 | 8.1-415 JDBC Source | |
8.0 Build 325 | 8.0-325 JDBC 2 | 8.0-325 JDBC 2EE | 8.0-325 JDBC 3 | 8.0-325 JDBC Source | |
7.4 Build 216 | pg74.216.jdbc1.jar | pg74.216.jdbc2.jar | pg74.216.jdbc2ee.jar | pg74.216.jdbc3.jar | |
7.3 Build 113 | pg73jdbc1.jar | pg73jdbc2.jar | pg73jdbc2ee.jar | pg73jdbc3.jar | |
7.2 | pg72jdbc1.jar | pg72jdbc2.jar | |||
7.1 | jdbc7.1-1.1.jar | jdbc7.1-1.2.jar | |||
7.0 | jdbc7.0-1.1.jar | jdbc7.0-1.2.jar | |||
6.5.2 | jdbc6.5-1.1.jar | jdbc6.5-1.2.jar | |||
6.4 | jdbc6.4.jar | ||||
6.3 | jdbc6.3.jar | ||||
6.2.1 | jdbc6.2.1.tgz | ||||
0.4 | JavaPostgres95-0.4.tar.gz | ||||
0.3 | JavaPostgres95-0.3.tar.gz | ||||
0.2 | JavaPostgres95-0.2.tar.gz |