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

From dmp
Subject Re: postgresql-9.2-1002.jdbc4.jar does not work with Java6
Date
Msg-id 50A41125.7090605@ttc-cmc.net
Whole thread Raw
In response to Re: postgresql-9.2-1002.jdbc4.jar does not work with Java6  (Dave Cramer <pg@fastcrypt.com>)
List 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@fastcrypt.com
> <mailto:pg@fastcrypt.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@gmx.net
>     <mailto: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
>         <mailto:pgsql-jdbc@postgresql.org>)
>         To make changes to your subscription:
>         http://www.postgresql.org/__mailpref/pgsql-jdbc
>         <http://www.postgresql.org/mailpref/pgsql-jdbc>



pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: Tags for 9.2 releases
Next
From: boscher.marc@gmail.com
Date:
Subject: Re: postgresql-9.2-1002.jdbc4.jar does not work with Java6