When jvm translate source code how it's work on other platforms? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

When jvm translate source code how it's work on other platforms?

5th May 2017, 2:30 PM
PASINDU LAKSARA
PASINDU LAKSARA - avatar
2 Answers
+ 1
Consider Java program compilation a 2 step process: 1) Convert source code to bytecode. 2) Convert bytecode to executable code. JVM stands between these 2 processes. The first step is Hardware and Operating System Independent. As JVM is Hardware and Operating System dependant, it converts bytecode to Machine dependant Executable code.
5th May 2017, 7:26 PM
Sandip Bhambre (Sandy)
Sandip Bhambre (Sandy) - avatar
0
Thanks
6th May 2017, 9:13 AM
PASINDU LAKSARA
PASINDU LAKSARA - avatar