欢迎访问悦橙教程(wld5.com),关注java教程。悦橙教程  java问答|  每日更新
页面导航 : > > 文章正文

JDK and JRE,jdkandjre

来源: javaer 分享于  点击 31036 次 点评:189

JDK and JRE,jdkandjre


 

SDK and JRE
Purpose
The Java 2 SDK and Java 2 Runtime environment are the two principal
products that implement the Java 2 Platform, for developers and consumers,
respectively.
Overview
There are two principal products in the J2SETM platform family.

JavaTM Runtime Environment (JRE)
The JRE provides the libraries, Java virtual machine, and other components
necessary for you to run applets and applications written in the Java programming
language. It does not contain tools and utilities such as compilers or debuggers
for developing applets and applications.

Java 2 SDK
The Java 2 SDK is a superset of the JRE. The Java 2 SDK contains everything that's
in the JRE, plus additional tools such as compilers and debuggers that are necessary
for developing applets and applications.
Question: Why would anyone want the JRE if the Java 2 SDK has everything in the JRE
and more?

Answer: The JRE is smaller and therefore easier to download or distribute with software
than the Java 2 SDK. Most users of Java technology are people who just want to
run applets and applications developed by others. They're not interested in
developing any applications themselves. The relatively small Java RE is made

for such end users. They can download the Java RE themselves from the web,
or software vendors can include it in their own products. The typical end-user
doesn't need the bulkier Java 2 SDK with its development tools

相关文章

    暂无相关文章
相关栏目:

用户点评