Java jdk and jre difference in the

JRE is an acronym for the Java Runtime Environment, as the name suggests is a java runtime environment, including the java virtual machine, java base class library. It is the use of java language programs needed to run the software environment, is available to, and all of the Java class library class files used by a user wants to run java program, both in the lib directory, and are packaged into jar.

As for the Windows virtual machine, which documents? Is <JRE install directory> / bin / client in jvm.dll.
Here Insert Picture Descriptionjdk:

Jdk Java Development Kit is an abbreviation, as the name suggests is a java development kit, programmers are required to use java language java Development Kit is available to programmers. JDK includes the JRE, also contains the source code to compile java compiler javac, also it contains a lot of java debugging and analysis tools: jconsole, jvisualvm tools such as software, java program also includes the required documentation and demo examples written procedures .

If you need to run java program, simply install the JRE on it. If you need to write java program, you need to install JDK.

Summary: In simple terms, JRE run Java programs can support, including Virtual Machine JVM (java.exe etc.) and basic libraries (rt.jar etc.), JDK may support the development of Java programs, including a compiler (javac. exe), development tools (javadoc.exe, jar.exe, keytool.exe, jconsole.exe) and more libraries (such as tools.jar) and so on.

Released nine original articles · won praise 11 · views 6263

Guess you like

Origin blog.csdn.net/liubocsn/article/details/89392906