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

From: dmp <danap(at)ttc-cmc(dot)net>
To: Dave Cramer <pg(at)fastcrypt(dot)com>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: postgresql-9.2-1002.jdbc4.jar does not work with Java6
Date: 2012-11-14 21:46:13
Message-ID: 50A41125.7090605@ttc-cmc.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Dave,

If you have used the script to build the jars this would be a result of the
build for 1.7 over writing 1.6. The script was made to have JDBC4 for both
of these. As it cycles through the SDK 7 would be after 6 so the JDBC4 would
be replaced with last build. If you wish the to have the jar for these two SDK
different the script needs to change. The same will be true for JDBC2, & JDBC3.

JDBC4, 1.6?
JDBC4.1, 1.7?

danap.

Dave Cramer wrote:
> Thomas,
>
> I have rebuilt the jar with 1.6. I guess we can't use 1.7 to build jars,
> only to test if the build succeeds.
>
> Dave
>
> Dave Cramer
>
> dave.cramer(at)credativ(dot)ca
> http://www.credativ.ca
>
>
>
> On Wed, Nov 14, 2012 at 3:31 PM, Dave Cramer <pg(at)fastcrypt(dot)com
> <mailto:pg(at)fastcrypt(dot)com>> wrote:
>
> 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(at)gmx(dot)net
> <mailto:spam_eater(at)gmx(dot)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(at)postgresql(dot)org
> <mailto:pgsql-jdbc(at)postgresql(dot)org>)
> To make changes to your subscription:
> http://www.postgresql.org/__mailpref/pgsql-jdbc
> <http://www.postgresql.org/mailpref/pgsql-jdbc>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2012-11-14 23:59:19 Re: postgresql-9.2-1002.jdbc4.jar does not work with Java6
Previous Message Dave Cramer 2012-11-14 21:33:34 Re: Tags for 9.2 releases