Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TYw0H-0003xC-5E for pgsql-jdbc@postgresql.org; Thu, 15 Nov 2012 09:44:57 +0000 Received: from plane.gmane.org ([80.91.229.3]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TYw0F-0000Nj-JC for pgsql-jdbc@postgresql.org; Thu, 15 Nov 2012 09:44:56 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TYw0K-0005xp-7X for pgsql-jdbc@postgresql.org; Thu, 15 Nov 2012 10:45:00 +0100 Received: from 217.110.94.121 ([217.110.94.121]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Nov 2012 10:45:00 +0100 Received: from spam_eater by 217.110.94.121 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Nov 2012 10:45:00 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-jdbc@postgresql.org From: Thomas Kellerer Subject: Re: postgresql-9.2-1002.jdbc4.jar does not work with Java6 Date: Thu, 15 Nov 2012 10:44:59 +0100 Lines: 14 Message-ID: References: <0fa46b92-e6cd-446c-8101-2f995e621377@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 217.110.94.121 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 In-Reply-To: <0fa46b92-e6cd-446c-8101-2f995e621377@googlegroups.com> X-Pg-Spam-Score: 0.1 (/) X-Archive-Number: 201211/77 X-Sequence-Number: 23544 boscher.marc@gmail.com, 14.11.2012 22:30: > > Isn't it just a question of specifying the target java version in javac That is not completely reliable. If you accidently include references to classes or methods in your code that are only available in Java7 it will still compile but fail to run with Java6. So if you want to be 100% it runs with Java6 you have to compile it with a Java6 JDK Thomas