gpt4 book ai didi

java - 私有(private) jre 和公共(public) jre 有什么区别?

转载 作者:IT老高 更新时间:2023-10-28 20:35:16 28 4
gpt4 key购买 nike

私有(private) jre 和公共(public) jre 有什么区别?有没有关于这个主题的官方论文?

我没有找到关于这个主题的任何问题。我也无法在周围找到令人满意的东西。

最佳答案

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.

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.

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

关于该主题的更多讨论:

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

关于java - 私有(private) jre 和公共(public) jre 有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19510169/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com