On Mon, Mar 14, 2016 at 10:25 PM, Vincent Danjean <vdanjean...@free.fr> wrote: > Le 14/03/2016 21:20, Vincent Danjean a écrit : >> Is it the correct way to build a package that requires java 8? > > I just saw that default-jre/jdk is 1.8 now, so I'm sure this > package need to be fixed. If someone can tell me how to do it > (or just point me to a package correctly written).
I suggest you put default-jdk (>=2:1.8) into Build-Depends instead of openjdk-8-jre-headless and openjdk-8-jdk, and remove Build-Conflicts. Eugene