您的位置:首页 > 编程语言 > Java开发

JDK and JRE

2008-11-11 22:21 155 查看
 
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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
相关文章推荐