Features/Java7TechPreview

From FedoraProject

< Features(Difference between revisions)
Jump to: navigation, search
m (moved Features/Java7 to Features/Java7TechPreview: Java 7 is being made a tech preview for Fedora 16.)
 

Latest revision as of 18:12, 19 September 2011

Contents

[edit] Java 7

[edit] Summary

Technology preview of Java 7 runtime and build tools (OpenJDK7).

[edit] Owner

  • email: dbhole at redhat dot com

[edit] Current status

  • Targeted release: Fedora 16
  • Last Updated: 2011-08-03
  • Percentage of completion: 100%

[edit] Detailed Description

Oracle made available the first proprietary JDK7 release on 2011-07-28.

Fedora 16 will contain a technology preview of Java tools for version 7 (OpenJDK7). Though it will not be the default run-time, users will be able to use the Java 7 run-time and build tools optionally via alternatives. All packages in Fedora 16 will be built with Java 6 (OpenJDK6).

[edit] Benefit to Fedora

Fedora users will have optional access to all the new language and feature enhancements provided by Java 7 while continuing to enjoy the benefits of the previous stable version (6).

[edit] Scope

Since OpenJDK6 will remain the default in Fedora 16, the only work needed is to build OpenJDK7 in a manner that it does not clobber the existing Java 6 install, and such that it will not satisfy regular Java dependencies so that Koji builds happen with OpenJDK6.

[edit] How To Test

  • Install Package-x-generic-16.pngjava-1.7.0-openjdk
  • Run (as root) 'alternatives --config java' and select the 1.7 version
  • Run 'java -version' to ensure that it is correct


[edit] User Experience

If users select the 1.7 java/javac alternative, they will have access to all of the new features that version 7 of the language provides.

[edit] Dependencies

Since OpenJDK6 will be used for all java related builds in Fedora 16, dependencies on Java is a non-issue at this time.

[edit] Contingency Plan

Java 7 will be optional and can be removed at any time if it becomes problematic. Since nothing will be built with 7, removal should not pose any problems.

[edit] Documentation

[edit] Release Notes

[edit] Comments and Discussion