Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YQiV9-0000kl-Bf for pgsql-jdbc@arkaria.postgresql.org; Wed, 25 Feb 2015 20:24:11 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YQiV8-0003cd-3d for pgsql-jdbc@arkaria.postgresql.org; Wed, 25 Feb 2015 20:24:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YQiV7-0003cW-5a for pgsql-jdbc@postgresql.org; Wed, 25 Feb 2015 20:24:09 +0000 Received: from mout.gmx.net ([212.227.17.21]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YQiV0-0000Mp-DH for pgsql-jdbc@postgresql.org; Wed, 25 Feb 2015 20:24:07 +0000 Received: from auth1-smtp.messagingengine.com ([66.111.4.227]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0LlV4F-1XqH5I1XKp-00bHqQ for ; Wed, 25 Feb 2015 21:23:55 +0100 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailauth.nyi.internal (Postfix) with ESMTP id 23A9C2101C for ; Wed, 25 Feb 2015 15:23:51 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Wed, 25 Feb 2015 15:23:51 -0500 X-Sasl-enc: qp4BMRUL4SrCXxDFan2C8kAJEuYxfCs2fOJGfsvhoKqd 1424895831 Received: from [192.168.1.117] (unknown [204.145.120.11]) by mail.messagingengine.com (Postfix) with ESMTPA id A69376800CA for ; Wed, 25 Feb 2015 15:23:51 -0500 (EST) Message-ID: <54EE2F57.2080005@gmx.net> Date: Wed, 25 Feb 2015 15:23:51 -0500 From: Peter Eisentraut User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: class file format issue Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:hfsGdSmrTSxgprkRKK+Y2/9bBZTPkn6XvXCzl229JGXFcwbmzsF IohMRFuw7c2V6WrvPqTJ1KbEY0arFPqVtQllp8WGqOO5GZpEZdb61IBZkZ/XFHXwx4JowBf XJPHD6S4SVx5Jqj2l7V4ZZ6n2iWsa5rjzAu1bFcifHPcErSc5JQ4AofSIPdyC0iZ5Rn+jYz hYRYws04XenxOYQgxc/YQ== X-UI-Out-Filterresults: notjunk:1; X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org I appears to me that the latest jdbc4 driver is compiled with a wrong class file format. unzip -q -c postgresql-9.4-1201.jdbc41.jar org/postgresql/PGStatement.class | od -t x1u1 -N 10 0000000 ca fe ba be 00 00 00 33 00 23 202 254 186 190 0 0 0 51 0 35 The above is OK. unzip -q -c postgresql-9.4-1201.jdbc4.jar org/postgresql/PGStatement.class | od -t x1u1 -N 10 0000000 ca fe ba be 00 00 00 33 00 23 202 254 186 190 0 0 0 51 0 35 That should be "50" instead of "51". As a result, loading this driver with Java 1.6.0 results in java.lang.UnsupportedClassVersionError: org/postgresql/Driver : Unsupported major.minor version 51.0 -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc