哪里可以下载 Hotspot JVM?与Oracle的JVM有何不同?
Where to download Hotspot JVM? Different from Oracle's JVM?
我在 Stack Overflow 上阅读了一些关于 JVM 的帖子,想下载 Hotspot JVM 的二进制副本,但我无法在 http://www.java.net.
上找到它
除此之外,Hotspot JVM 和 Oracle
中的 JVM 有什么区别
Oracle JVM 适合生产网站吗?
概览:
This SO question 可以解决您关于“什么是 JVM、Hotspot 和 OpenJDK”的问题。
基本上:
JVM means Java Virtual Machine. The JVM is the underlying runtime that executes java bytecode. There are multiple different implementations out there, all implementing the Java Virtual Machine Specification
HotSpot 是 JVM 概念最常用的实现。它用于 Oracle JDK 和 OpenJDK。 Oracle 的JDK 可以在oracle 的网站上下载,目前http://www.oracle.com/technetwork/java/javase/downloads/index.html。这是“您将在普通用户的 windows 计算机上找到的典型 JVM”。
OpenJDK is the open source project maintaining and impelmenting the HotSpot JVM, but also many other projects beside the JVM such as Graal or VisualVM。例如,在 Ubuntu 上,您可以通过 运行 sudo apt-get install openjdk8
.
安装此 OpenJDK(当前版本 8)
结论:
虽然这个解释不是很完美,但足以理解 Oracle JDK 和 OpenJDK 之间没有太大区别。如果您对这方面的更多信息感兴趣,请查看 SO 问题 Differences between Oracle JDK and Open JDK
JDK / JVM 源代码:
如果您对源代码感兴趣,打开JDK 是最佳选择。 Here you can find the current OpenJDK 8 (which includes the HotSpot JVM). Its source code can be found here。还说明了如何下载源码:
The jdk8u-dev forest for ongoing development can be cloned using this command: hg clone http://hg.openjdk.java.net/jdk8u/jdk8u-dev;cd jdk8u-dev;sh get_source.sh .
The corresponding master forest jdk8u can be cloned using this command: hg clone http://hg.openjdk.java.net/jdk8u/jdk8u;cd jdk8u;sh get_source.sh .
In addition, the source code for the last release, 8u66, is available by cloning the 8u master forest : http://hg.openjdk.java.net/jdk8u/jdk8u and using the 'jdk8u66-b17' mercurial tag.
我在 Stack Overflow 上阅读了一些关于 JVM 的帖子,想下载 Hotspot JVM 的二进制副本,但我无法在 http://www.java.net.
上找到它除此之外,Hotspot JVM 和 Oracle
中的 JVM 有什么区别Oracle JVM 适合生产网站吗?
概览:
This SO question 可以解决您关于“什么是 JVM、Hotspot 和 OpenJDK”的问题。
基本上:
JVM means Java Virtual Machine. The JVM is the underlying runtime that executes java bytecode. There are multiple different implementations out there, all implementing the Java Virtual Machine Specification
HotSpot 是 JVM 概念最常用的实现。它用于 Oracle JDK 和 OpenJDK。 Oracle 的JDK 可以在oracle 的网站上下载,目前http://www.oracle.com/technetwork/java/javase/downloads/index.html。这是“您将在普通用户的 windows 计算机上找到的典型 JVM”。
OpenJDK is the open source project maintaining and impelmenting the HotSpot JVM, but also many other projects beside the JVM such as Graal or VisualVM。例如,在 Ubuntu 上,您可以通过 运行 sudo apt-get install openjdk8
.
结论:
虽然这个解释不是很完美,但足以理解 Oracle JDK 和 OpenJDK 之间没有太大区别。如果您对这方面的更多信息感兴趣,请查看 SO 问题 Differences between Oracle JDK and Open JDK
JDK / JVM 源代码:
如果您对源代码感兴趣,打开JDK 是最佳选择。 Here you can find the current OpenJDK 8 (which includes the HotSpot JVM). Its source code can be found here。还说明了如何下载源码:
The jdk8u-dev forest for ongoing development can be cloned using this command: hg clone http://hg.openjdk.java.net/jdk8u/jdk8u-dev;cd jdk8u-dev;sh get_source.sh .
The corresponding master forest jdk8u can be cloned using this command: hg clone http://hg.openjdk.java.net/jdk8u/jdk8u;cd jdk8u;sh get_source.sh .
In addition, the source code for the last release, 8u66, is available by cloning the 8u master forest : http://hg.openjdk.java.net/jdk8u/jdk8u and using the 'jdk8u66-b17' mercurial tag.