JVM is java virtual machine which should be there on an operating system for any java application to be run on.so, it depends on how many operating sytems you have on your system installed. if you want the JVM installed on all the operating systems on your pc then u can.This JVM converts the java code into byte code which will be easily understood by any machine.
Devidas Sonawane
Oct 25th, 2005
Only one JVM's we can run any Operating System. if different Operating system then need to JVM's on that Operating system.
Devidas Sonawane
Nov 25th, 2005
Any no. of JVM's we can run on any Operating System, but process speed reduces. for e.g u can open 2 CMD and run two .java file then u can understand this concepts.
Hai Friends you have to remember one thing.The Jvm is one.Butwe can have mamy jvm instances. you open five commmand prompts and do java programs in all command prompts.All will execute.For Every command prompt one jvm intances is assinged. you can have up to approximately 250 jvm intances..
We can run as many JVMs as possible at the same time depending on the memory (RAM). Also the JVM instance can belong to any one of the java implementors like Sun JDK, JRockit etc parallely. For using different JDK apart from the one set in JAVA_HOME path variable, we need to give the entire path of java like ${java_dir}/bin/java ...
How many JVM's we can run in a system?