what's a jdk? what's a jvm? what's the difference?
JVM Java Virtual Machine (JVM) is a run-time system that executes Java bytecode. The JVM is like a virtual computer that can execute a set of compiled instructions and manipulate memory locations. When a Java compiler compiles source code, it generates a highly optimized set of instructions called bytecode in a .class file.
JDK (Java Development Kit) 1  It is a bundle of software that you can use to develop Java based applications. 2  Java Development Kit is needed for developing java applications. 3  The JDK needs more Disk space as it contains the JRE along with various development tools.