欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
OpenJDK
来自开放百科 - 灰狐
(版本间的差异)
小 (→JDK 10) |
小 (→Liberica) |
||
(未显示1个用户的36个中间版本) | |||
第1行: | 第1行: | ||
− | |||
{{SeeWikipedia}} | {{SeeWikipedia}} | ||
− | [[Image:openjdk. | + | [[Image:openjdk-logo.png|right]] |
− | OpenJDK 是 Java 语言、平台规范的开源实现。 | + | [[文件:openjdk-logo-2.png|right]] |
+ | OpenJDK 是 [[Java]] 语言、平台规范的开源实现。 | ||
https://openjdk.java.net/ | https://openjdk.java.net/ | ||
+ | ==简介== | ||
Today this project contains two significant components of the JDK: | Today this project contains two significant components of the JDK: | ||
第15行: | 第16行: | ||
未来,JRockit与HotSpot将会合并为单独一个JVM,互相取长补短。合并后的成果将会持续不断地加到OpenJDK当中。Oracle将会继续维护开源与闭源的JDK实现。Sun的Java for Business与Oracle的JRockit Mission Control、JRockit Real Time以及JRockit Virtual Edition仍将受专利保护并使用商业协议,他们是付费产品。详见[http://docs.huihoo.com/java/JVM-Strategy-2010.pdf JVM的未来策略] | 未来,JRockit与HotSpot将会合并为单独一个JVM,互相取长补短。合并后的成果将会持续不断地加到OpenJDK当中。Oracle将会继续维护开源与闭源的JDK实现。Sun的Java for Business与Oracle的JRockit Mission Control、JRockit Real Time以及JRockit Virtual Edition仍将受专利保护并使用商业协议,他们是付费产品。详见[http://docs.huihoo.com/java/JVM-Strategy-2010.pdf JVM的未来策略] | ||
+ | |||
+ | ==JDK== | ||
+ | [https://medium.com/@javachampions/java-is-still-free-2-0-0-6b9aa8d6d244 To know more about the JDK] | ||
+ | |||
+ | ==JDK 17== | ||
+ | [https://jdk.java.net/17/ JDK 17 Early-Access Builds] | ||
+ | |||
+ | ==JDK 16== | ||
+ | [https://jdk.java.net/16/ JDK 16.0.1 General-Availability Release] | ||
+ | |||
+ | ==JDK 15== | ||
+ | [https://jdk.java.net/15/ JDK 15 Releases] | ||
+ | |||
+ | ==JDK 14== | ||
+ | [https://jdk.java.net/14/ JDK 14 Releases] | ||
+ | |||
+ | ==JDK 13== | ||
+ | *[https://www.oracle.com/technetwork/java/javase/13-relnote-issues-5460548.html JDK 13 Release Notes] | ||
+ | *[https://jdk.java.net/13/ JDK 13 Releases] | ||
+ | |||
+ | ==JDK 12== | ||
+ | *[https://www.oracle.com/technetwork/java/javase/12-relnote-issues-5211422.html JDK 12 Release Notes] | ||
+ | *[https://mail.openjdk.java.net/pipermail/jdk-dev/2019-March/002718.html Java 12 / JDK 12 正式发布!] (2019.03) | ||
+ | *[https://www.ibm.com/developerworks/cn/java/the-new-features-of-Java-12/index.html Java 12 新特性概述] | ||
==JDK 11== | ==JDK 11== | ||
− | [http://www.infoq.com/cn/news/2018/09/java11-new-feature Java 11 / JDK 11 正式发布!] (2018.09) | + | *[https://www.oracle.com/technetwork/java/javase/11u-relnotes-5093844.html JDK 11 Release notes] |
+ | *[http://www.infoq.com/cn/news/2018/09/java11-new-feature Java 11 / JDK 11 正式发布!] (2018.09) | ||
+ | *[https://www.ibm.com/developerworks/cn/java/the-new-features-of-Java-11/index.html Java 11 新特性介绍] | ||
==JDK 10== | ==JDK 10== | ||
+ | *[https://www.oracle.com/technetwork/java/javase/10u-relnotes-4108739.html JDK 10 Release notes] | ||
*[http://hg.openjdk.java.net/jdk10 JDK 10 source code] | *[http://hg.openjdk.java.net/jdk10 JDK 10 source code] | ||
+ | *[https://www.ibm.com/developerworks/cn/java/the-new-features-of-Java-10/index.html Java 10 新特性介绍] | ||
==JDK 9== | ==JDK 9== | ||
+ | *[https://www.oracle.com/technetwork/java/javase/9u-relnotes-3704429.html JDK 9 Release Notes] | ||
*[http://jdk.java.net/9/ JDK 9 Project] | *[http://jdk.java.net/9/ JDK 9 Project] | ||
*[http://hg.openjdk.java.net/jdk9/jdk9 JDK 9 source code] | *[http://hg.openjdk.java.net/jdk9/jdk9 JDK 9 source code] | ||
第31行: | 第61行: | ||
==JDK 8== | ==JDK 8== | ||
− | [http://jdk.java.net/8/ JDK 8 Project] | + | *[https://www.oracle.com/technetwork/java/javase/8u-relnotes-2225394.html JDK 8 Release Notes] |
+ | *[http://jdk.java.net/8/ JDK 8 Project] | ||
在 Java 8 中,与云相关的最重要的两个特性就是多租户与模块化: | 在 Java 8 中,与云相关的最重要的两个特性就是多租户与模块化: | ||
第37行: | 第68行: | ||
*模块化:指的是把 JDK 重新组织为一套尽管互相依赖但却是定义清晰的模块。Java 开发人员的一个替代选择是使用 [[OSGi]]。 | *模块化:指的是把 JDK 重新组织为一套尽管互相依赖但却是定义清晰的模块。Java 开发人员的一个替代选择是使用 [[OSGi]]。 | ||
*[http://openjdk.java.net/projects/jdk8/ JDK 8 @ OpenJDK] | *[http://openjdk.java.net/projects/jdk8/ JDK 8 @ OpenJDK] | ||
+ | *[https://github.com/winterbe/java8-tutorial Modern Java - A Guide to Java 8] | ||
*[http://www.infoq.com/cn/news/2013/08/everything-about-java-8 Java 8全面解析] | *[http://www.infoq.com/cn/news/2013/08/everything-about-java-8 Java 8全面解析] | ||
==JDK 7== | ==JDK 7== | ||
+ | *[https://www.oracle.com/technetwork/java/javase/7u-relnotes-515228.html JDK 7 Release Notes for update releases] | ||
+ | *[https://www.oracle.com/technetwork/java/javaseproducts/documentation/javase7supportreleasenotes-1601161.html JDK 7 Release Notes for revision builds] | ||
*[http://docs.huihoo.com/java/oscon2011-jdk7-nutshell.pdf JDK 7 in a Nutshell] | *[http://docs.huihoo.com/java/oscon2011-jdk7-nutshell.pdf JDK 7 in a Nutshell] | ||
*[http://docs.huihoo.com/java/oscon2011-openjdk-state.pdf The State of JDK and OpenJDK] | *[http://docs.huihoo.com/java/oscon2011-openjdk-state.pdf The State of JDK and OpenJDK] | ||
第47行: | 第81行: | ||
==JDK 6== | ==JDK 6== | ||
+ | *[https://www.oracle.com/technetwork/java/javase/documentation/overview-156328.html JDK 6 Release Notes post 6u45, and revision builds of earlier releases] | ||
+ | *[https://www.oracle.com/technetwork/java/javase/releasenotes-136954.html JDK 6 Release Notes through 6u45] | ||
*[http://jdk6.java.net/ JDK 6 Project] | *[http://jdk6.java.net/ JDK 6 Project] | ||
*[http://openjdk.java.net/projects/jdk6/ JDK 6 @ openJDK] | *[http://openjdk.java.net/projects/jdk6/ JDK 6 @ openJDK] | ||
+ | |||
+ | ==GraalVM== | ||
+ | [[GraalVM]] 是一个通用虚拟机 | ||
+ | |||
+ | ==[[AdoptOpenJDK]]== | ||
+ | [https://adoptopenjdk.net/ Prebuilt OpenJDK Binaries for Free!] | ||
+ | *[https://blog.adoptopenjdk.net/2020/06/adoptopenjdk-to-join-the-eclipse-foundation/ AdoptOpenJDK to join the Eclipse Foundation!] | ||
+ | |||
+ | ==Liberica JDK== | ||
+ | [https://bell-sw.com/ BellSoft] Among Top-5 OpenJDK contributors. | ||
==IcedTea== | ==IcedTea== | ||
[[IcedTea]] 基于 OpenJDK 构建。 | [[IcedTea]] 基于 OpenJDK 构建。 | ||
+ | |||
+ | ==腾讯== | ||
+ | [https://github.com/Tencent/TencentKona-8 Tencent Kona 8] | ||
==Taobao== | ==Taobao== | ||
− | [http://jvm.taobao.org/ JVM@Taobao] | + | [http://jvm.taobao.org/ JVM @ Taobao] |
==Azul== | ==Azul== | ||
*[https://www.azul.com/products/zing/ Azul Zing]是一款专为需要低时延、较高的交易速度、较大的工作内存和/或一致的响应时间的企业Java应用程序而设计JVM。Zulu是Azul通过认证、免费开源的OpenJDK构建,提供一系列灵活的支持选项,适合部署在企业用户和嵌入式系统中。 | *[https://www.azul.com/products/zing/ Azul Zing]是一款专为需要低时延、较高的交易速度、较大的工作内存和/或一致的响应时间的企业Java应用程序而设计JVM。Zulu是Azul通过认证、免费开源的OpenJDK构建,提供一系列灵活的支持选项,适合部署在企业用户和嵌入式系统中。 | ||
*[http://zulu.org/ Zulu.org] | *[http://zulu.org/ Zulu.org] | ||
+ | |||
+ | ==SapMachine== | ||
+ | [https://github.com/SAP/SapMachine SapMachine] | ||
==Debian== | ==Debian== | ||
+ | [https://wiki.debian.org/Java Debian Java] | ||
+ | |||
Debian6自带的JDK | Debian6自带的JDK | ||
java -version | java -version | ||
第67行: | 第121行: | ||
OpenJDK Client VM (build 14.0-b16, mixed mode, sharing) | OpenJDK Client VM (build 14.0-b16, mixed mode, sharing) | ||
[https://wiki.debian.org/Java/OpenJDK OpenJDK @ Debian] | [https://wiki.debian.org/Java/OpenJDK OpenJDK @ Debian] | ||
+ | |||
+ | ==CentOS== | ||
+ | *[https://segmentfault.com/a/1190000022669252 Centos 8 下编译 OpenJDK] | ||
==JetBrains== | ==JetBrains== | ||
第75行: | 第132行: | ||
OpenJDK 8 | OpenJDK 8 | ||
− | hg clone | + | hg clone https://hg.openjdk.java.net/jdk8u/jdk8u-dev |
cd jdk8u-dev | cd jdk8u-dev | ||
chmod 755 get_source.sh | chmod 755 get_source.sh | ||
第90行: | 第147行: | ||
*[http://hg.openjdk.java.net/jdk6/jdk6/raw-file/tip/README-builds.html OpenJDK 6 Build README] | *[http://hg.openjdk.java.net/jdk6/jdk6/raw-file/tip/README-builds.html OpenJDK 6 Build README] | ||
*[https://github.com/hgomez/obuildfactory OpenJDK Build Factory] | *[https://github.com/hgomez/obuildfactory OpenJDK Build Factory] | ||
+ | |||
+ | ==项目== | ||
+ | *[https://github.com/openjdk/jol Java Object Layout (JOL)] | ||
+ | *[https://github.com/openjdk/jmc JDK Mission Control] | ||
+ | *[https://github.com/openjdk/jmh Java Microbenchmark Harness (JMH)] | ||
+ | *[https://github.com/openjdk/jcstress Java Concurrency Stress (jcstress)] | ||
+ | *[https://openjdk.java.net/projects/shenandoah/ Shenandoah] | ||
+ | *[https://openjdk.java.net/projects/zgc/ ZGC - The Z Garbage Collector] | ||
+ | *[https://openjdk.java.net/jeps/318 JEP 318: Epsilon: A No-Op Garbage Collector] | ||
==文档== | ==文档== | ||
第102行: | 第168行: | ||
==图集== | ==图集== | ||
<gallery widths=100px heights=100px perrow=6> | <gallery widths=100px heights=100px perrow=6> | ||
+ | image:Java-Version-Almanac.png|Java版本 | ||
Image:openjdk-history-and-release-genealogy-2011.png|OpenJDK历史 | Image:openjdk-history-and-release-genealogy-2011.png|OpenJDK历史 | ||
+ | image:OpenJDK-JEP-2.0.png|JEP 2.0 | ||
image:zulu-openjdk.png|Zulu OpenJDK | image:zulu-openjdk.png|Zulu OpenJDK | ||
Image:java-se-7-jsrs.png|Java SE 7 JSRs | Image:java-se-7-jsrs.png|Java SE 7 JSRs | ||
第113行: | 第181行: | ||
image:jdk7-b65-modules.png|JDK7 Modules | image:jdk7-b65-modules.png|JDK7 Modules | ||
image:java8-lambda-expressions.png|Java8 Lambda | image:java8-lambda-expressions.png|Java8 Lambda | ||
+ | image:java8-to-java11.png|Java8迁移Java11 | ||
+ | image:java11-javase-module-graph.png|Java11模块 | ||
+ | image:OpenJDK-Build.png|源代码构建 | ||
</gallery> | </gallery> | ||
2022年8月10日 (三) 02:24的最后版本
您可以在Wikipedia上了解到此条目的英文信息 OpenJDK Thanks, Wikipedia. |
OpenJDK 是 Java 语言、平台规范的开源实现。
目录 |
[编辑] 简介
Today this project contains two significant components of the JDK:
- The HotSpot Virtual Machine
- The Java programming-language compiler (javac)
未来,JRockit与HotSpot将会合并为单独一个JVM,互相取长补短。合并后的成果将会持续不断地加到OpenJDK当中。Oracle将会继续维护开源与闭源的JDK实现。Sun的Java for Business与Oracle的JRockit Mission Control、JRockit Real Time以及JRockit Virtual Edition仍将受专利保护并使用商业协议,他们是付费产品。详见JVM的未来策略
[编辑] JDK
[编辑] JDK 17
[编辑] JDK 16
JDK 16.0.1 General-Availability Release
[编辑] JDK 15
[编辑] JDK 14
[编辑] JDK 13
[编辑] JDK 12
[编辑] JDK 11
[编辑] JDK 10
[编辑] JDK 9
- JDK 9 Release Notes
- JDK 9 Project
- JDK 9 source code
- JDK 9 Documentation
- JDK 9 Early Access with Project Jigsaw
- Java 9终于要包含Jigsaw项目了
- JDK 9,变化与未来
[编辑] JDK 8
在 Java 8 中,与云相关的最重要的两个特性就是多租户与模块化:
- 多租户:指的是在一个 Java 虚拟机(JVM)中安全运行多个应用的能力。
- 模块化:指的是把 JDK 重新组织为一套尽管互相依赖但却是定义清晰的模块。Java 开发人员的一个替代选择是使用 OSGi。
- JDK 8 @ OpenJDK
- Modern Java - A Guide to Java 8
- Java 8全面解析
[编辑] JDK 7
- JDK 7 Release Notes for update releases
- JDK 7 Release Notes for revision builds
- JDK 7 in a Nutshell
- The State of JDK and OpenJDK
- Java SE 7 Documentation
- JDK 7 Project
- JDK 7 @ OpenJDK
[编辑] JDK 6
- JDK 6 Release Notes post 6u45, and revision builds of earlier releases
- JDK 6 Release Notes through 6u45
- JDK 6 Project
- JDK 6 @ openJDK
[编辑] GraalVM
GraalVM 是一个通用虚拟机
[编辑] AdoptOpenJDK
Prebuilt OpenJDK Binaries for Free!
[编辑] Liberica JDK
BellSoft Among Top-5 OpenJDK contributors.
[编辑] IcedTea
IcedTea 基于 OpenJDK 构建。
[编辑] 腾讯
[编辑] Taobao
[编辑] Azul
- Azul Zing是一款专为需要低时延、较高的交易速度、较大的工作内存和/或一致的响应时间的企业Java应用程序而设计JVM。Zulu是Azul通过认证、免费开源的OpenJDK构建,提供一系列灵活的支持选项,适合部署在企业用户和嵌入式系统中。
- Zulu.org
[编辑] SapMachine
[编辑] Debian
Debian6自带的JDK
java -version java version "1.6.0_18" OpenJDK Runtime Environment (IcedTea6 1.8.13) (6b18-1.8.13-0+squeeze2) OpenJDK Client VM (build 14.0-b16, mixed mode, sharing)
[编辑] CentOS
[编辑] JetBrains
[编辑] 代码
brew install mercurial
OpenJDK 8
hg clone https://hg.openjdk.java.net/jdk8u/jdk8u-dev cd jdk8u-dev chmod 755 get_source.sh ./get_source.sh
[编辑] 开发者
- http://download.java.net/openjdk/jdk6
- http://download.java.net/openjdk/jdk7
- The OpenJDK Developers' Guide
[编辑] 构建
[编辑] 项目
- Java Object Layout (JOL)
- JDK Mission Control
- Java Microbenchmark Harness (JMH)
- Java Concurrency Stress (jcstress)
- Shenandoah
- ZGC - The Z Garbage Collector
- JEP 318: Epsilon: A No-Op Garbage Collector
[编辑] 文档
- 阿里巴巴基于Java容器的多应用部署技术实践
- 高盛如何使用Java
- Java – From OpenJDK to Red Hat Enterprise Linux and What Lies Ahead
[编辑] 用户
[编辑] 图集
- 生成缩略图错误:不正确的缩略图参数
JDK7 Modules
[编辑] 链接
分享您的观点