在哪里下载Hotspot JVM?与Oracle的JVM不同吗? [英] Where to download Hotspot JVM? Different from Oracle's JVM?

查看:518
本文介绍了在哪里下载Hotspot JVM?与Oracle的JVM不同吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Stack Overflow上阅读了一些有关JVM的文章,并想下载Hotspot JVM的二进制副本,但是我无法在 http://www.java.net .

I read a few posts about JVM at Stack Overflow and would like to download a binary copy of the Hotspot JVM, yet I am not able to find it on http://www.java.net.

除此之外, Oracle

Oracle JVM是否适合生产网站?

Is Oracle JVM good for a production website?

推荐答案

概述:

此SO问题可能会清除有关什么是JVM,热点"的问题.和OpenJDK".

This SO question may clear up your questions regarding "What is JVM, Hotspot and OpenJDK".

基本上:

JVM 表示 Java虚拟机. JVM是执行Java字节码的基础运行时.有多种不同的实现,所有实现都实现了 Java虚拟机规范

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

HotSpot is the most used implementation of the JVM concept. It is used in both, Oracle JDK and OpenJDK. Oracle's JDK can be downloaded on oracle's website, currently http://www.oracle.com/technetwork/java/javase/downloads/index.html. This is "the typical JVM you will find on a normal user's windows machine".

OpenJDK 是维护和推动HotSpot JVM的开源项目,但还有很多JVM之外的其他项目,例如 Graal

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. On Ubuntu for example you can install this OpenJDK (current version 8) by running sudo apt-get install openjdk8.

结论:

虽然这种解释并不是很完美,但可能足以理解Oracle JDK与OpenJDK之间没有太大区别.如果您对此感兴趣,请查看SO问题

While this explaination is not really perfect, it may be good enough to understand that there is no big difference between Oracle JDK and OpenJDK. If you are interested in a little more info on this, have a look at the SO question Differences between Oracle JDK and Open JDK

JDK/JVM源代码:

如果您对源代码感兴趣,则可以使用OpenJDK. 在这里您可以找到当前的OpenJDK 8(包括HotSpot JVM).可以在此处找到其源代码.它还说明了如何下载源代码:

If you are interested in the source code, OpenJDK is the way to go. Here you can find the current OpenJDK 8 (which includes the HotSpot JVM). Its source code can be found here. It also states how to download the source code:

可以使用以下命令克隆正在进行开发的jdk8u-dev林:hg clone

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 .

可以使用以下命令克隆相应的主林jdk8u:hg clone http://hg.openjdk.java.net/jdk8u/jdk8u;cd jdk8u; 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 .

此外,可以通过克隆8u主目录林来获得最新版本8u66的源代码:

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.

这篇关于在哪里下载Hotspot JVM?与Oracle的JVM不同吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆