Ankit Garg wrote:The JVM converts the instructions in the byte code (generated by the compiler) into machine level instructions (sort of) so it needs to know the OS.
suppose If a
java application developed on any platform and compiled it, the JVM makes the byte code from the compiled program and for that it communicates with the OS on which the code compliled and when that byte code is ported to different platform or different OS so their JVM (on which the byteCode is ported) again communicated with the byteCode to run it, is it???
Please remove my confusion.