Re: postgresql-9.2-1002.jdbc4.jar does not work with Java6 - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: postgresql-9.2-1002.jdbc4.jar does not work with Java6
Date
Msg-id CADK3HHKh6v4u0n4oDtPXPxb2G+nu4m+7pjcfJKJr1wngDsc2Hg@mail.gmail.com
Whole thread Raw
In response to postgresql-9.2-1002.jdbc4.jar does not work with Java6  (Thomas Kellerer <spam_eater@gmx.net>)
Responses Re: postgresql-9.2-1002.jdbc4.jar does not work with Java6
List pgsql-jdbc
No that is not intended. I actually think it should be JDBC4.1 ?


Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca



On Wed, Nov 14, 2012 at 3:20 PM, Thomas Kellerer <spam_eater@gmx.net> wrote:
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



--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc

pgsql-jdbc by date:

Previous
From: Thomas Kellerer
Date:
Subject: postgresql-9.2-1002.jdbc4.jar does not work with Java6
Next
From: Dave Cramer
Date:
Subject: Re: postgresql-9.2-1002.jdbc4.jar does not work with Java6