postgresql-9.2-1002.jdbc4.jar does not work with Java6

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: postgresql-9.2-1002.jdbc4.jar does not work with Java6
Date: 2012-11-14 20:20:08
Message-ID: k80udc$b81$1@ger.gmane.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hi,

when trying to use postgresql-9.2-1002.jdbc4.jar with Java6 I get the following exception:

java.lang.UnsupportedClassVersionError: org/postgresql/Driver : Unsupported major.minor version 51.0

It works fine with Java7.

Is this intended? If yes, I think then description on the download page

"If you are using the 1.6 or 1.7 JVM, then you should use the JDBC4 version."

should be updated.

Regards
Thomas

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2012-11-14 20:31:53 Re: postgresql-9.2-1002.jdbc4.jar does not work with Java6
Previous Message dmp 2012-11-14 19:48:02 Re: Packaging of 9.2-1001 source tarball