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

Re: openjdk-8 package available for review



Hi Felix,

Thank you for giving a try.

Le 01/05/2014 18:27, Felix Natter a écrit :

> I am having a small issue with the current git version:
> If I download via "debian/rules get-orig-source", and then
> "dpkg-buildpackage -us -uc" I get:
> 
> Extracting the sources...
> tar -xf jdk8u-*.tar.xz
> tar: jdk8u-*.tar.xz: Cannot open: No such file or directory
> tar: Error is not recoverable: exiting now
> make: *** [stamps/unpack] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2

I think you forgot to extract the upstream tarball in the current directory.


> Another question: Is it sufficient to point "update-java-alternatives"
> to openjdk-8 in order to use it to build and run subsequent packages
> (that build-depend on default-jdk and depend on default-jre)?

To build with Java 8 you have to change the JAVA_HOME variable. It's
defined in every debian/rules file and usually points to
/usr/lib/jvm/default-java. update-java-alternatives doesn't change the
VM linked to this path, you have to change debian/rules or install a
modified version of default-jdk:

http://87.98.165.193/debian/java-common/

Emmanuel Bourg


Reply to: