Re: postgresql-9.2-1002.jdbc4.jar does not work with Java6

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: postgresql-9.2-1002.jdbc4.jar does not work with Java6
Date: 2012-11-15 09:44:59
Message-ID: k82di2$h80$1@ger.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

boscher(dot)marc(at)gmail(dot)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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2012-11-15 13:57:18 Re: Missing changelogs
Previous Message Toni Helenius 2012-11-15 06:48:29 Missing changelogs