hi, I am Pankaj Shet. Everyone must be knowing that java is a totally platform independent language. But it is not so.It requires JVM for the same. Can anyone explain me,what is JVM,how it helps the code to execute on different platform?How does it get converted into a Bytecode?Would java be a platform independent without the presence of JVM?When java compiler compiles a code it gets converted into a Bytecode which is not an Executable code? Can anyone give me the detailed explaination regarding the above scenerio? Can anyone tell me the resouces from which i can get the detailed knowledge regaring the same? Thank you.
First let me put one thing, one can't make a thing which is 100% portable. Just dig it in your mind.
1) Converts your program into one X format, which is universal standard. 2) Let every platform understand X format to execute that program. 3) JVM is one that which understand the X format, and it is very obvious that JVM has to be implemented in respective platform to translate the X format into native platform format.
Ok, do you have any idea, to make something 100% portable,