Difference:
jdk is a toolkit for java development, and java is a programming language.
What is java?
Java is a widely used computer programming language with cross-platform, object-oriented, and generic programming features and is widely used in enterprises Level web application development and mobile application development.
The style of the Java programming language is very close to the C language. It inherits the core of C language object-oriented technology, discards error-prone pointers and replaces them with references; removes the operator overloading and multiple inheritance features in C and replaces them with interfaces; adds a garbage collector function. Generic programming, type-safe enumerations, variable-length parameters, and autoloading/unboxing features were introduced in Java SE 1.5.
What is jdk?
Java Development Kit (JDK) is a free software development kit (SDK, Software development kit) released by Sun Microsystems for Java developers. Since the introduction of Java, JDK has become the most widely used Java SDK.
As a Java language SDK, ordinary users do not need to install JDK to run Java programs, but only need to install JRE (Java Runtime Environment). Program developers must install JDK to compile and debug programs.
Recommended tutorial: java introductory tutorial
The above is the detailed content of The difference between jdk and java. For more information, please follow other related articles on the PHP Chinese website!