On 09/04/12 23:10, Timo Boehme wrote:
> Hi,
>
> Am 08.04.2012 21:48, schrieb Andreas Lehmkuehler:
>> you're using a java6 only constructor of IOException, which breaks our
>> build.
>>
>> You should probably adjust your environment to avoid such cases. I
>> installed an
>> isolated java5 environment to be used only when working on PDFBox.
>
> I already switched to Java 1.5 compile flags but this does not detect
> API additions... Will see what I can do since setting up an additional
> Java 1.5 environment is not so easy within the company.

If you can't install a JDK using the standard Windows installers
(presuming your'e on a locked-down Windows box), just download the .zip
packaged JDK from Oracle, unpack it to a scratch directory, and use it
from there. All you need to do is have an environment script that sets
JAVA_HOME and PATH to point to the 1.5 JDK.

--
Craig Ringer

Reply via email to