I get question if we compile our program using hotspot (which is primary jvm), after that try to execute in pc which contain other jvm, then our program runs? What is necessary of these many jvms?
Millions saw the apple fall, but Newton asked why.
If you understand, say "understand". If you don't understand, say "don't understand". But if you understand and say "don't understand". How do I understand that you understand? Understand!
Mandar, as far as I understand, JVMs are kind of interpreters taking the compiled Java program(which named, "bytecode") and making it run on an operating system, BY INTERPRETING it.. to be able to interpret, it takes the code and converts it to another code that, THAT operating system understands and run.. to be able to do that, it has to be prepared for THAT specific operating system... so every JVM (which is actually a little program) must be written to run on a specific operating system.. In better words, they are designed to work in this way... Thats what I understand.. A very useful link is this... Please take a look..