Download
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. Latest SNAPSHOT versions.
Latest Versions
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 8.4 or newer and requires Java 6 or newer. It contains support for SSL and the javax.sql package.
Note:
Testing of PostgreSQL versions is currently limited to versions 9.1 and newer. PgJDBC versions since 42.7.4 are not guaranteed to work with PostgreSQL older than 9.1.
If you are using Java 8 or newer then you should use the JDBC 4.2 version.
DownloadIf you are using Java 7 then you should use the JDBC 4.1 version.
DownloadIf you are using Java 6 then you should use the JDBC 4.0 version.
DownloadOlder Versions
Many other versions of the JDBC driver are available. This includes development versions, compatibility with older JDKs, and previous versions of the driver.
- 42.7.9 15 January 2026
- 42.7.8 18 September 2025
- 42.7.7 11 June 2025
- 42.7.6 27 May 2025
- 42.7.5 14 January 2025
- 42.7.4 22 August 2024
- 42.7.3 14 March 2024
- 42.7.2 21 February 2024
- 42.7.1 6 December 2023
- 42.7.0 20 November 2023
- 42.6.2 13 March 2024
- 42.5.6 13 March 2024
- 42.4.4 20 February 2024
- 42.3.10 13 March 2024
- 42.2.28.jre7 21 February 2024