私人jre和公共jre之间有什么区别? [英] What are the differences between private jre and public jre?

查看:1130
本文介绍了私人jre和公共jre之间有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

私人jre和公共jre之间有什么区别?
是否有关于此主题的官方文件?

What are the differences between private jre and public jre? Is there some official paper about this topic?

我没有发现有关此主题的任何问题。我也无法找到满足的东西。

I didn't find any question on SO about this topic. Nor I was able to find something fulfilling around.

推荐答案


JRE只是一个包含JVM可执行文件的文件夹,设置
文件,必需的lib文件和扩展。您可以在系统上安装多个
JRE Sun通常会在C:\Program
Files \ Java中安装版本,例如jre eg.jre1.6.0_06。

A JRE is nothing but a folder that contains JVM executables, setting files, required lib files, and extensions. You can install multiple JREs on your system Sun generally installs versions in C:\Program Files\Java as jre eg.jre1.6.0_06.

公共JRE可用于所有Java程序,浏览器和此JRE文件夹中的lib
可用于在命令
line中启动的应用程序比如java com.sarathonline.cli.HelloWorld这个JRE也是在路径和浏览器插件中注册的

A Public JRE is available to all Java programs, Browsers, and the libs in this JRE folder are available to applications started in command line like java com.sarathonline.cli.HelloWorld This JRE is also registered in path, and Browser plugin.

私有JRE是安装在系统中的东西,但默认情况下不是
。这可能是来自另一个已安装目录的JRE / JDK文件夹
的副本。如果您看到我之前的帖子:
使用jre 1.6开始eclipse,其中你的环境是1.4,
JRE1.6仅由Eclipse使用,这是一个私有JRE。虽然
JAVA_HOME指向1.4。这是一个公开的JRE。

A Private JRE is something that is installed in the system but is not referred to by default. This could be a copy of the JRE / JDK folder from another installed directory. If you see a my earlier post: starting eclipse with jre 1.6 where your environment is in 1.4, The JRE1.6 is used only by Eclipse, this is a private JRE. While the JAVA_HOME points to 1.4. This is a public JRE.

来源:

http://blog.sarathonline.com/2008/07/public-and-private -jre.html

关于该主题的更多讨论:

Some more discussion on the topic:

http://www.velocityreviews.com/forums/t649860- private-vs-public-jre-in-different-oss.html

这篇关于私人jre和公共jre之间有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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