From Fedora Project Wiki

mNo edit summary
(User customizations admonition)
Line 15: Line 15:
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/.
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]]

Revision as of 04:50, 23 September 2014

Beat is open
This beat is now ready to have Fedora 25 content added by the beat writer

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

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.