The java development environment refers to jdk, which is the Java development kit or Java development tool. It is a program development environment for writing Java Applets and applications. JDK is the core of the entire Java development. It includes the JAVA running environment, JAVA tools and JAVA basic class libraries.
Java is an object-oriented programming language. As a representative of static object-oriented programming languages, Java language excellently implements object-oriented theory and allows programmers to Approach complex programming with elegant thinking. Everyone knows that if you want to develop, you must have a development environment. So what is the development environment for Java?
JDK (Java Development Kit) is called Java development kit or Java development tool. It is a program development environment for writing Java Applet programs and applications.
JDK is a Java language software development kit. JDK is the core of the entire Java development. It includes the JAVA running environment, JAVA tools and JAVA basic class libraries.
After we write the java source code, we use the java tools provided by the JDK to compile and execute the java program. Therefore, to do Java development, the first step is to install JDK on the development computer.
In addition, the Java SE API subset and Java virtual machine in the Java API class library can be collectively referred to as JRE (JAVA Runtime Environment). JRE is a standard environment that supports the running of Java programs.
JRE is a running environment and JDK is a development environment. You must distinguish the two.
Therefore, JDK is needed when writing Java programs, and JRE is needed when running Java programs.
The JDK already contains JRE, so as long as the JDK is installed, you can edit Java programs and run Java programs normally.
However, since JDK contains a lot of content that has nothing to do with running and takes up a lot of space, you do not need to install JDK to run ordinary and very simple Java programs, you only need to install JRE.
The above is the detailed content of What is java development environment. For more information, please follow other related articles on the PHP Chinese website!