Skip site navigation (1) Skip section navigation (2)

Download



About

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.


Current Version 42.1.4

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.2 or newer and requires Java 6 or newer. It contains support for SSL and the javax.sql package.

  • If you are using Java 8 or newer then you should use the JDBC 4.2 version.
  • If you are using Java 7 then you should use the JDBC 4.1 version.
  • If you are using Java 6 then you should use the JDBC 4.0 version.
  • If you are using a Java version older than 6 then you will need to use a JDBC3 version of the driver, which will by necessity not be current, found in Other Versions.

PostgreSQL JDBC 4.2 Driver, 42.1.4

PostgreSQL JDBC 4.1 Driver, 42.1.4.jre7

PostgreSQL JDBC 4.0 Driver, 42.1.4.jre6


Other Versions

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.

  • JDK 1.1 - JDBC 1. Note that with the 8.0 release JDBC 1 support has been removed, so look to update your JDK when you update your server.
  • JDK 1.2, 1.3 - JDBC 2.
  • JDK 1.3 + J2EE - JDBC 2 EE. This contains additional support for javax.sql classes.
  • JDK 1.4, 1.5 - JDBC 3. This contains support for SSL and javax.sql, but does not require J2EE as it has been added to the J2SE release.
  • JDK 6 - JDBC 4.0 Support for JDBC4 methods is not complete, but the majority of methods are implemented.
  • JDK 7 - JDBC 4.1 Support for JDBC4 methods is not complete, but the majority of methods are implemented.
  • JDK 8 - JDBC 4.2 Support for JDBC4 methods is not complete, but the majority of methods are implemented.



Archived Versions



Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group