From: dmp <danap@ttc-cmc.net>
To: Dave Cramer <pg@fastcrypt.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: postgresql-9.2-1002.jdbc4.jar does not work with Java6
Date: Wed, 14 Nov 2012 14:46:13 -0700
Message-ID: <50A41125.7090605@ttc-cmc.net> (raw)
In-Reply-To: <CADK3HHLR=BLk21YjZUOZ7Qfa8PSxjWR2xum-VXjxa-koS_x8kg@mail.gmail.com>
References: <k80udc$b81$1@ger.gmane.org>
<CADK3HHKh6v4u0n4oDtPXPxb2G+nu4m+7pjcfJKJr1wngDsc2Hg@mail.gmail.com>
<CADK3HHLR=BLk21YjZUOZ7Qfa8PSxjWR2xum-VXjxa-koS_x8kg@mail.gmail.com>
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;
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: danap@ttc-cmc.net, pg@fastcrypt.com
Subject: Re: postgresql-9.2-1002.jdbc4.jar does not work with Java6
In-Reply-To: <50A41125.7090605@ttc-cmc.net>
References: <k80udc$b81$1@ger.gmane.org> <CADK3HHKh6v4u0n4oDtPXPxb2G+nu4m+7pjcfJKJr1wngDsc2Hg@mail.gmail.com> <CADK3HHLR=BLk21YjZUOZ7Qfa8PSxjWR2xum-VXjxa-koS_x8kg@mail.gmail.com> <50A41125.7090605@ttc-cmc.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox