Documentation Java Beat

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{header|docs}}
+
{{header|docs}}{{Docs_beat_closed}}
 +
== Java ==
  
{{Docs_beat_closed}}
+
=== 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/.
 +
 
 +
{{admon/note | 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. }}
  
 
[[Category:Docs Project]]
 
[[Category:Docs Project]]
 
[[Category:Draft documentation]]
 
[[Category:Draft documentation]]
 
[[Category:Documentation beats]]
 
[[Category:Documentation beats]]

Latest revision as of 12:02, 14 October 2014

DocsProject Header docTeam1.png
Warning (medium size).png
Beat Closed on Wiki
Work on beats has now moved to git. If you have changes or additions, please contact the docs team via #fedora-docs, docs@lists.fp.o, or with the fedora-release-notes BZ component.

[edit] Java

[edit] 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

[edit] 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/.

Note.png
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.