JDK 8 Build Issue(s)

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Sun Jul 22 15:20:46 UTC 2018


On 07/22/2018 05:15 PM, mr rupplin wrote:
> Great.  I tried JDK 8 as base and it gave the generic linux error at build.
Whenever you build OpenJDK on any Linux distribution, you have to
install the build dependencies first. The easiest way to achieve
that on Debian or Debian derivatives, is to run the following command:

	# apt update && apt build-dep openjdk-8

For OpenJDK 9, 10 and 11, use:

	# apt update && apt build-dep openjdk-9
	# apt update && apt build-dep openjdk-10
	# apt update && apt build-dep openjdk-11

FWIW, OpenJDK 9 has already been dropped from Debian unstable. Don't
know about the various derivatives though.

Don't forget to configure with "--disable-warnings-as-error" and the
proper part to the build JDK

	"--with-build-jdk=/usr/lib/jvm/java-8-openjdk-amd64/"

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



More information about the build-dev mailing list