在程序文件的java文件夹中放置两个jre,一个jdk和一个外地jdk背后的原因是什么? [英] What is the reason behind putting two jre, one in jdk and one outsite jdk in the java folder in Program files

查看:41
本文介绍了在程序文件的java文件夹中放置两个jre,一个jdk和一个外地jdk背后的原因是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Java文件夹中看到两个jre,一个在jdk中,另一个在jdk外.您能告诉我这两个jre背后的原因是什么吗?

I have see two jre in the java folder one in jdk and one outside jdk. Can you tell me the what is the reason behind having these two jre?

推荐答案

如果您只在运行应用程序,则只需要Java Runtime Environment(JRE),因此有必要将其作为独立的实体来提供.

If you're just running an application you only need the Java Runtime Environment (JRE), so it make sense to deliver that as a distinct entity.

如果要进行开发,则需要完整的Java Development Kit,并且拥有包括JRE在内的所有内容将对您有所帮助.

If you are developing the you need the complete Java Development Kit, and it's helpful to have everything you need including the JRE.

因此,有两种使用场景和两种获取JRE的方法.

So, two usage scenarios, two ways to get the JRE.

有关更多信息,请参阅Jaya引用的问题.

See the question referenced by Jaya for more information.

这篇关于在程序文件的java文件夹中放置两个jre,一个jdk和一个外地jdk背后的原因是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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