如何将最新的JRE / JDK作为zip文件而不是EXE或MSI安装程序? [英] How can I get the latest JRE / JDK as a zip file rather than EXE or MSI installer?

查看:500
本文介绍了如何将最新的JRE / JDK作为zip文件而不是EXE或MSI安装程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我喜欢通过复制Java文件夹的内容并设置环境变量来确保一切正常。

I like to be sure that everything will work just by copying the contents of the Java folder and setting the environment variables.

我通常在虚拟环境中运行安装程序机器,压缩\ java文件夹内容,返回虚拟机的快照,然后解压缩压缩文件。

I usually run the installer in a virtual machine, zip the \java folder contents, go back to a snapshot of the virtual machine, and then unzip the compressed file.

我找不到一个地方最新的JRE / JDK以zip文件形式提供...

I couldn't find a place where the latest JRE / JDK is available as a zip file...

http://java.sun.com/javase/downloads/index.jsp

http://download.java.net/jdk6/

另外,可以安全地假设来自sun的exe安装程序只是解压缩整个事情,而不会搞乱注册表,环境变量等...?

Alternately, is it safe to assume that exe installer from sun just will just unzip the whole thing, without messing around with the registry, environment variables, etc...?

-
在这段时间之后我找到了这个网站似乎正是我所寻找的(2018-05-22)

-- After all this time I found this site that seems to be exactly what I was looking for (2018-05-22)

推荐答案

您可以从 PortableApps.com 下载Java Portable。它不会更改您的系统设置。你可以把它放在USB记忆棒上。

You can download a Java Portable from PortableApps.com. It will not change your system settings. You can put it on your USB stick.

UPD:对于那些需要JDK的人来说,有一个开源项目 OpenJDK Portable

UPD: for those who needs JDK there's an open-source project OpenJDK Portable

这篇关于如何将最新的JRE / JDK作为zip文件而不是EXE或MSI安装程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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