Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TYkz6-0007If-K8 for pgsql-jdbc@postgresql.org; Wed, 14 Nov 2012 21:59:00 +0000 Received: from outbound.vnet-inc.com ([216.146.104.103]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TYkz2-0004pk-Lz for pgsql-jdbc@postgresql.org; Wed, 14 Nov 2012 21:58:59 +0000 Received: from [192.168.157.132] (unknown [76.75.27.41]) by outbound.vnet-inc.com (Postfix) with ESMTP id D47CE5865; Wed, 14 Nov 2012 14:58:56 -0700 (MST) Message-ID: <50A41125.7090605@ttc-cmc.net> Date: Wed, 14 Nov 2012 14:46:13 -0700 From: dmp User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.13) Gecko/20100914 SeaMonkey/2.0.8 MIME-Version: 1.0 To: Dave Cramer , pgsql-jdbc@postgresql.org Subject: Re: postgresql-9.2-1002.jdbc4.jar does not work with Java6 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201211/71 X-Sequence-Number: 23538 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 > 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 > 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 >