Install this package:
emerge -a dev-java/oraclejdk-bin
If the package is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask dev-java/oraclejdk-bin
Or alternatively:
emerge --autounmask-write -a dev-java/oraclejdk-bin
<pkgmetadata> <maintainer type="project"> <email>java@gentoo.org</email> </maintainer> <maintainer type="person"> <email>nurali258@foxmail.com</email> <name>Nurali</name> </maintainer> <longdescription>The JDK is a development environment for building applications, applets, and components using the Java programming language.It includes tools useful for developing and testing programs written in the Java programming language and running on the Java platform.</longdescription> <use> <flag name="headless-awt">Don't install the X backend for AWT, needed by some GUIs (used to be X flag)</flag> <flag name="source">Install JVM sources</flag> <flag name="javafx">Install JavaFX libraries</flag> <flag name="commercial">Install features requiring a commercial license for production use</flag> </use> </pkgmetadata>
Manage flags for this package:
euse -i <flag> -p dev-java/oraclejdk-bin |
euse -E <flag> -p dev-java/oraclejdk-bin |
euse -D <flag> -p dev-java/oraclejdk-bin
| Flag | Description | 8.391 | 21.0.1 |
|---|---|---|---|
| alsa | ⚠️ | ⊕ | ✓ |
| commercial | Install features requiring a commercial license for production use | ✗ | ⊕ |
| cups | ⚠️ | ✓ | ✓ |
| fontconfig | ⚠️ | ✓ | ✗ |
| headless-awt | Don't install the X backend for AWT, needed by some GUIs (used to be X flag) | ✓ | ✓ |
| javafx | Install JavaFX libraries | ⊕ | ✗ |
| selinux | !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur | ✓ | ✗ |
| source | Install JVM sources | ⊕ | ⊕ |
| Type | File | Size | Versions |
|---|---|---|---|
| DIST | jdk-21.0.1_linux-x64_bin.tar.gz | 197226694 bytes | 21.0.1 |
| Type | File | Size |
|---|---|---|
| DIST | jdk-8u391-linux-x64.tar.gz | 141887242 bytes |