what is the virtual java machine? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

what is the virtual java machine?

25th Apr 2017, 12:55 AM
chris
chris - avatar
6 Answers
+ 7
when I install the jdk I am also installing the virtual java machine right?
25th Apr 2017, 1:10 AM
chris
chris - avatar
+ 6
a java virtual machine is an implementation for a specific platform, that can interprets and execute java compiled binary codes, called "bytecodes"
25th Apr 2017, 1:07 AM
⏩▶Clau◀⏪
⏩▶Clau◀⏪ - avatar
+ 5
does that mean I don't need to install an ide to my computer to write and compile a java program. I could just use notepad to write the program and compile using command prompt?
25th Apr 2017, 1:56 AM
chris
chris - avatar
+ 5
yes after u have installed jdk,you can compile and run your java programs in cmd :)
25th Apr 2017, 3:11 AM
Manideep
Manideep - avatar
+ 4
Yes, When you download the JDK you are also downloading the Java Runtime Environment (JRE) which contains the Java Virtual Machine (JVM)
25th Apr 2017, 1:41 AM
Malcolm Jones
+ 4
could someone please answer my question?
25th Apr 2017, 2:33 AM
chris
chris - avatar