Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

1 like 0 dislike
271 views
by The go-to Tester (344 points)
Differences between JDK, JRE and JVM in Java language

1 Answer

0 like 0 dislike
by Master (1.2k points)
 
Best answer
JDK is the short form of (Java Development Kit). We use JDK to compile .java files. So, when you are writing .java files, JDK is mandatory to compile those files and generate .class files.

JRE is the short form of (Java Runtime Environment). It is used to execute compiled java files. So, when you have a .class file, you need JRE to execute those. It contains JVM.

JVM is the short form of (Java Virtual Machine). JVM is the core component of Java. It is the interface between your OS and your execution layer. Basically, it creates an environment for you to run your compiled Java files.


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

1.4k questions

1.6k answers

866 comments

1.9k users

...