[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: packaging a java 8 program: javahelper problems



Hi Jonathan,

Le 28/09/2015 10:32, Jonathan Dowland a écrit :

> I'm packaging a Java application[1] that requires Java 8. It seems at the
> moment this is not possible in a policy-compliant way as javahelper can't yet
> generate appropriate ${java:Depends} for 1.8 yet. (IIRC)

I see you mavenized the project recently, using maven-debian-helper
instead of javahelper would be a good idea.


> I guess it's no problem as I can hard-code openjdk-8-* until javahelper is
> updated but I suppose that's strictly against policy.

We should probably rephrase the policy to allow an application to depend
on a higher version of the JRE.

In this case you could try depending on default-jre (>= 2:1.8) |
java8-runtime, I assume it will pull openjdk-8-jre.


> Can I ask what the plans/timeline are/is for javahelper to support Java 8
> apps?

We are about to switch openjdk-8 as the default Java runtime. I'd like
to solve the current FTBFS on openjfx before doing that.

Emmanuel Bourg


Reply to: