Re: postgresql-9.2-1002.jdbc4.jar does not work with Java6 - Mailing list pgsql-jdbc

From Thomas Kellerer
Subject Re: postgresql-9.2-1002.jdbc4.jar does not work with Java6
Date
Msg-id k82di2$h80$1@ger.gmane.org
Whole thread Raw
In response to Re: postgresql-9.2-1002.jdbc4.jar does not work with Java6  (boscher.marc@gmail.com)
Responses Re: postgresql-9.2-1002.jdbc4.jar does not work with Java6
List pgsql-jdbc
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
compilebut 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




pgsql-jdbc by date:

Previous
From: Toni Helenius
Date:
Subject: Missing changelogs
Next
From: Dave Cramer
Date:
Subject: Re: Missing changelogs