安装JDK和使用转储之间的区别 [英] Difference between installing an JDK and using the dump

查看:37
本文介绍了安装JDK和使用转储之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

全部, 我想知道使用Oracle提供的安装程序安装JDK和使用安装后创建的JDK目录之间有什么区别.

All, I wanted to know what is the difference between installing an JDK using the installer provided by Oracle and using the JDK directory that is created after installation.

说我使用oracle上的安装程序在机器M1上的以下位置安装了JDK7u1: C:\ Program Files \ Java \ JDK7u1

Say I installed JDK7u1 using the installer from oracle on a machine M1, at the location: C:\Program Files\Java\JDK7u1

我可以将JDK7u1目录(包括其所有子目录)复制到另一台机器M2到文件夹中

I can copy the JDK7u1 directory (including all it's sub-directories) to another machine M2 into the folder

"D:\ JVMs",因此目录类似于:"D:\ JVMs \ JDK7u1". 如果我将JAVA_HOME设置为"D:\ JVMs \ JDK7u1",然后将"D:\ JVMs \ JDK7u1 \ bin"添加到路径变量.

"D:\JVMs" so the directory looks like : "D:\JVMs\JDK7u1". If I set my JAVA_HOME to "D:\JVMs\JDK7u1" and add the "D:\JVMs\JDK7u1\bin" to path variable.

有什么不同吗?

如果它们没有什么不同,为什么Oracle的Windows发行版不附带.zip发行版?

If they are not different why are the windows distribution from Oracle does not come with a .zip distribution?

此外,如果我已经在计算机上安装了JDK6u23,将安装jdk7安装程序会导致任何问题吗?

Also, if I already have INSTALLED the JDK6u23 on my machine will installing jdk7 installer cause any problem?

我的系统信息: Windows XP SP3 32位计算机.

My system information: Windows XP SP3 32 bit machine.

谢谢

推荐答案

多年来,我一直在所有开发和生产计算机上使用转储"方法.该安装增加了更多功能,例如java webstart(jnlp),自动更新等.在我看来,所有这些都是垃圾软件.

I've been using "the dump" method for years on all my dev and production machines. The installation adds more capabilities such as java webstart (jnlp), automatic updates etc. All of that are crapware in my humble opinion.

这篇关于安装JDK和使用转储之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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