Documentation Java Beat

From FedoraProject

Jump to: navigation, search
DocsProject Header docTeam1.png
Note.png
Beat is open
This beat is now ready to have Fedora 21 content added by the beat writer

Contents

Java

More efficiently dependency management for Java packages

The way that Java dependencies are handled has changed in Fedora 21. Packages that do not interact with the X server or audio subsystem, now depend on a new OpenJDK headless subpackage. This means installation size reduction on servers, a change that aims for efficiency.

Java packaging guidelines now require to convert most Java packages to have "Requires: java-headless" when appropriate. Changes can be found at Fedora wiki:

https://fedoraproject.org/wiki/Packaging:Java#BuildRequires_and_Requires

Javadocs subpackages no longer mandatory

Another change to Java packaging guidelines regards to Javadocs subpackages, which are now optional in Fedora packages.

Update to OpenJDK 8

OpenJDK8 is now the default Java Runtime in Fedora, replacing OpenJDK7. A full list of the features added in OpenJDK7 is available upstream at http://openjdk.java.net/projects/jdk8/features/.