dev-java/openjdk (gentoo)

Search

Notice: This package is in a virtual group: virtual/jdk
Equivalents: dev-java/openjdk-bin

Install

Install this package:

emerge -a dev-java/openjdk

Package Information

Description:
Java™ is the world's leading programming language and platform. The code for Java is open source and available at OpenJDK™.
Homepage:
https://openjdk.org
License:
GPL-2-with-classpath-exception

Versions

Version EAPI Keywords Slot
8.504_p01 8 amd64 arm64 ppc64 x86 $(ver_cut 1)
28_alpha15 8 $(ver_cut 1)
27_p35 8 ~amd64 $(ver_cut 1)
25.0.4.1_p1 8 amd64 arm64 ppc64 ~riscv $(ver_cut 1)
21.0.12.1_p1 8 ~amd64 arm64 ~ppc64 ~riscv ~x86 $(ver_cut 1)
21.0.12.1_p1 8 amd64 arm64 ppc64 ~riscv x86 $(ver_cut 1)
17.0.20.1_p1 8 ~amd64 ~arm arm64 ~ppc64 ~riscv ~x86 $(ver_cut 1)
17.0.20.1_p1 8 amd64 ~arm arm64 ppc64 ~riscv x86 $(ver_cut 1)
11.0.32.1_p1 8 ~amd64 ~arm arm64 ~ppc64 ~riscv ~x86 $(ver_cut 1)
11.0.32.1_p1 8 amd64 ~arm arm64 ppc64 ~riscv x86 $(ver_cut 1)

Metadata

Description

Maintainers

Upstream

Raw Metadata XML
<pkgmetadata>
	<maintainer type="project">
		<email>java@gentoo.org</email>
		<name>Java</name>
	</maintainer>
	<longdescription>
		Java™ is the world's leading programming language and platform.
		The code for Java is open source and available at OpenJDK™.
	</longdescription>
	<slots>
		<slot name="8">Java™ 8 is Java™ 1.8, where 8 is the version number, and 1.8 is the version string</slot>
		<slot name="11">Java™ version 11</slot>
		<slot name="17">Java™ version 17</slot>
		<slot name="25">Java™ version 25</slot>
	</slots>
	<use>
		<flag name="headless-awt">Don't install the X backend for AWT, needed by some GUIs</flag>
		<flag name="javafx" restrict="&lt;=dev-java/openjdk-9">Provide JavaFX support via <pkg>dev-java/openjfx</pkg></flag>
		<flag name="javafx" restrict="&gt;=dev-java/openjdk-11">Import OpenJFX modules at build time, via <pkg>dev-java/openjfx</pkg></flag>
		<flag name="jbootstrap">Build OpenJDK twice, the second time using the result of the first</flag>
		<flag name="source">Install JVM sources</flag>
		<flag name="system-bootstrap">Bootstrap using installed openjdk</flag>
		<flag name="systemtap" restrict="&gt;=dev-java/openjdk-11">Enable SystemTap/DTrace tracing</flag>
	</use>
	<upstream>
		<remote-id type="github">openjdk/jdk8u</remote-id>
		<remote-id type="github">openjdk/jdk11u</remote-id>
		<remote-id type="github">openjdk/jdk17u</remote-id>
		<remote-id type="github">openjdk/jdk21u</remote-id>
		<remote-id type="github">openjdk/jdk25u</remote-id>
	</upstream>
</pkgmetadata>

Lint Warnings

USE Flags

Manage flags for this package: euse -i <flag> -p dev-java/openjdk | euse -E <flag> -p dev-java/openjdk | euse -D <flag> -p dev-java/openjdk

Flag Description 8.504_p01 28_alpha15 27_p35 25.0.4.1_p1 21.0.12.1_p1 21.0.12.1_p1 17.0.20.1_p1 17.0.20.1_p1 11.0.32.1_p1 11.0.32.1_p1
alsa Add support for media-libs/alsa-lib (Advanced Linux Sound Architecture) ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
big-endian Big-endian toolchain support ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
cups Add support for CUPS (Common Unix Printing System) ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
debug Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
doc Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
examples Install examples, usually source code ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
headless-awt Don't install the X backend for AWT, needed by some GUIs ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
javafx Provide JavaFX support via <pkg>dev-java/openjfx</pkg> ✗ ✗ ✗ ✗ ✗ ✗ ✗ ✗ ✓ ✓
jbootstrap Build OpenJDK twice, the second time using the result of the first ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕
selinux !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
source Install JVM sources ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
static-libs Build static versions of dynamic libraries as well ✗ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗ ✗
system-bootstrap Bootstrap using installed openjdk ✓ ⊕ ⊕ ⊕ ⊕ ⊕ ✓ ✓ ✓ ✓
systemtap Enable SystemTap/DTrace tracing ✗ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓

Files

Manifest

Type File Size Versions
DIST openjdk-11.0.18-riscv.patch.xz 272672 bytes 11.0.32.1_p1
Unmatched Entries
Type File Size
DIST openjdk-11.0.32.1_p1.tar.gz 116753609 bytes
DIST openjdk-17.0.20.1_p1.tar.gz 108354972 bytes
DIST openjdk-21.0.12.1_p1.tar.gz 114156415 bytes
DIST openjdk-25.0.4.1_p1.tar.gz 119672034 bytes
DIST openjdk-27_p35.tar.gz 121507063 bytes
DIST openjdk-28_alpha15.tar.gz 120151416 bytes
DIST openjdk-8.504_p01.tar.gz 93982677 bytes
DIST openjdk-bootstrap-11.0.13_p8-ppc64.tar.xz 108215404 bytes
DIST openjdk-bootstrap-11.0.13_p8-x86.tar.xz 105420236 bytes
DIST openjdk-bootstrap-11.0.14_p9-riscv.tar.xz 104601676 bytes
DIST openjdk-bootstrap-17.0.1_p12-ppc64.tar.xz 116557680 bytes
DIST openjdk-bootstrap-17.0.1_p12-x86.tar.xz 111479904 bytes
DIST openjdk-bootstrap-17.0.2_p8-arm64-musl.tar.xz 115353932 bytes
DIST openjdk-bootstrap-17.0.3_p7-riscv.tar.xz 113344052 bytes
DIST openjdk-bootstrap-21.0.0_p35-ppc64.tar.xz 125375264 bytes
DIST openjdk-bootstrap-21.0.0_p35-x86.tar.xz 120906212 bytes
DIST openjdk-bootstrap-25_p36-ppc64.tar.xz 140209032 bytes
DIST openjdk-bootstrap-8.402_p06-ppc64.tar.xz 34476368 bytes
DIST openjdk-bootstrap-8.402_p06-x86.tar.xz 37076244 bytes