From Fedora Project Wiki

Revision as of 11:58, 14 October 2014 by Pbokoc (talk | contribs)

Beat Closed on Wiki
Work on beats has now moved to git at https://pagure.io/fedora-docs/release-notes. If you have changes or additions, please contact the docs team via #fedora-docs, docs@lists.fedoraproject.org, or with the release-notes BZ component.

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.

Documentation for Java packages is now optional, saving even more space on your server. Look for the -doc subpackage for Java packages to install the accompanying documentation. If you need access to API documentation of Java libraries without javadoc subpackage try using upstream web pages which should be accessible at homepage URL of the project in question. You can query for the URL of installed package with rpm -qi <package> | grep '^URL'

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

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/.

Java Customizations
User customizations made to java-1.7.0-openjdk (specifically, to files under /usr/lib/jvm/java-1.7.0*/*) will not be carried across to java-1.8.0-openjdk.