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

Re: Packaging Java Pathfinder



Le 15/11/2015 07:38, Marko Dimjašević a écrit :

> Can someone point me to a package that depends on Java 8? JPF needs
> Java 8 to build and I can't figure out how to specify that given that
> 'default-java' points to Java 8. So I'd like to learn from an example.

Hi Marko,

You can get a look at the openjfx package. JAVA_HOME is set this way in
debian/rules:

  DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
  JAVA_HOME     := /usr/lib/jvm/java-8-openjdk-$(DEB_HOST_ARCH)

Emmanuel Bourg


Reply to: