An analysis of the concept of jdk,jre,ide

Source: Internet
Author: User

An analysis of the concept of jdk,jre,ide

1.JDK is what. There's something inside.
JDK, the English full name is Java Development Kit (Java Development Kit). It is a collection of tool programs and documents. There are Java worker (. exe executables such as Javac.exe,java.exe,debuger.exe,jar.exe,javadoc.exe) and Java base class libraries (jar packages such as Java.io,java.sql, Java.lang,java.util, etc.). It is intended for developers.

2. What is in the JDK.
2.1 Java Tools:
Javac.exe (compiler): Converts the source program (. java file) into a byte code. class file.
Java.exe (Interpreter): Run the Compile. claa file.
Jdb.exe (Debugger): Error-checking tool
Jar.exe (Packaging tools): Packaging related class files into a single file
Javadoc.exe (document Builder): Extracting documents from source comments
Appletviewer.exe (Applet browser): A Java browser that executes Java applets on HTML files.

2.2 Java base Class library (Jar package):
Java.lang: This is the underlying class of the system, such as String, which is the only package that can be used without introducing (import).
Java.io: This is all the input and output related classes, such as file operations.
Java.nio: In order to improve the functionality in the IO package, a new package is written to improve performance in IO packages, such as NIO non-blocking applications java.net: This is a network-related class, such as Url,urlconnection.
Java.util: This is the system auxiliary class, especially the collection class Collection,list,map and so on.
java.sql: This is the database operation of the class, Connection, Statement,resultset and so on.
Javax.servlet: This is the class used by Jsp,servlet.


3.jre is what. What's the use.
The English name of the JRE is the Java Runtime Environment (Java Runtime Environment), which contains the JVM (Java Virtual machine), Java base Class library, and supporting files. It is user-oriented. It is the platform on which the. class file is run.

What is the relationship between 4.JDK and JRE?
When the JDK is installed, the JRE is shipped with the JRE, which you can assume is part of the JDK (Java Development Kit).
For details, please refer to: http://www.cnblogs.com/yezhenhan/archive/2011/01/02/1924307.html

5.ide is what. What's the use.
The English full name of the IDE is integreted development environment (integrated development environment).
In this integrated development environment, we can more easily organize and manage our own written code (workspace + Resource manager), we can use it to provide some of the button control more simply to invoke the Java tools provided by the JDK.
Applications such as Eclipse,myeclipse,jbuilder provide us with the IDE (integrated development environment), and some people view the IDE as a generic term for this type of application software.


What is the relationship between 6.JDK and the IDE? Difference.
6.1 can be without IDE, but not without JDK.
Without the IDE, we can also use Notepad to write. Java source code, and then use the Java compiler provided by JDK, Java interpreter, and so on to run the code.
6.2 has IDE, also cannot without JDK.
With the IDE, on the one hand, we can better organize and manage our own written code (especially when developing large projects). On the other hand, it can help us to operate the JDK more easily without having to use the command line to manipulate the JDK.


Other:
What is the process between the 1.java program from creation to running. What's the difference from the C program?

Java:

C:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.