pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-jdbc@postgresql.org
Subject: Re: postgresql-9.2-1002.jdbc4.jar does not work with Java6
Date: Thu, 15 Nov 2012 10:44:59 +0100
Message-ID: <k82di2$h80$1@ger.gmane.org> (raw)
In-Reply-To: <0fa46b92-e6cd-446c-8101-2f995e621377@googlegroups.com>
References: <k80udc$b81$1@ger.gmane.org>
	<CADK3HHKh6v4u0n4oDtPXPxb2G+nu4m+7pjcfJKJr1wngDsc2Hg@mail.gmail.com>
	<CADK3HHLR=BLk21YjZUOZ7Qfa8PSxjWR2xum-VXjxa-koS_x8kg@mail.gmail.com>
	<0fa46b92-e6cd-446c-8101-2f995e621377@googlegroups.com>

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








view thread (9+ messages)  latest in thread

Message-ID: <k82di2$h80$1@ger.gmane.org>
Permalink:  ../k82di2$h80$1@ger.gmane.org/
Also on:    postgresql.org/message-id/k82di2$h80$1@ger.gmane.org

 · 

reply

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: spam_eater@gmx.net
  Subject: Re: postgresql-9.2-1002.jdbc4.jar does not work with Java6
  In-Reply-To: <k82di2$h80$1@ger.gmane.org>
  References: <k80udc$b81$1@ger.gmane.org> <CADK3HHKh6v4u0n4oDtPXPxb2G+nu4m+7pjcfJKJr1wngDsc2Hg@mail.gmail.com> <CADK3HHLR=BLk21YjZUOZ7Qfa8PSxjWR2xum-VXjxa-koS_x8kg@mail.gmail.com> <0fa46b92-e6cd-446c-8101-2f995e621377@googlegroups.com> <k82di2$h80$1@ger.gmane.org>

* 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