A JVM is just the thing that execute .class files. A JRE includes libraries and APIs (i.e. all the java.* and javax.* Java classes, plus things like the native libraries needed for the AWT to function). You can't actually run a program on a bare JVM. A JDK is a JRE plus all the development tools like javac, javap .etc.
the relation of jre and jdk and jvm
最新推荐文章于 2024-08-23 12:25:32 发布