No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
=== More efficiently dependency management for Java packages === | === 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 | 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. | ||
Additionally, 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. | |||
Java packaging guidelines now require to convert most Java packages to have "Requires: java-headless" when appropriate. Changes can be found at Fedora wiki: | If you need access to API documentation of Java libraries without javadoc subpackages, 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 <replaceable>package</replaceable> | grep '^URL'''' | ||
Java packaging guidelines now also 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 | https://fedoraproject.org/wiki/Packaging:Java#BuildRequires_and_Requires |
Revision as of 12:02, 14 October 2014
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.
Additionally, 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 subpackages, 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 <replaceable>package</replaceable> | grep '^URL'
Java packaging guidelines now also 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/.