Package: db
Version: 5.1.29-4
Severity: normal
User: ubuntu-de...@lists.ubuntu.com
Usertags: openjdk-7-transition

Hi,

Rebuilding db with Java7 causes the Java bindings to be compiled in
way requiring Java7 as minimum version.  Please consider explicitly
setting the target version to 1.5 as this the version supported by
all JVMs currently in Debian.

This can usually be achieved by passing "-source 1.5 -target 1.5"
to javac (perhaps via JAVAC_FLAGS in your case[1]) or by setting
the source/target version with ant to 1.5[2].

~Niels

[1] lang/sql/jdbc/Makefile.in contains a JAVAC_FLAGS

[2] The default values can be changed by setting the properties:
 * ant.build.javac.source
 * ant.build.javac.target

But they are overriden by "source" and "target" attributes for a given
<javac> tag.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to