I am using Windows XP and jdk 1.7 is installed on it.Now i want to that when JVM does load in my computer ? It does load automatically when my computer starts or it loads when i use javac and java command to run my java program ? and When JVM does unload ?
JVM is started (or loaded) during actual execution of a Java program. That is, whenever java.exe(or java in case of Linux) is executed, JVM is started. When execution of java.exe ends, JVM ends and so on.
Please note that JVM is not required during compilation (i.e. javac command).