Why do we call Java as platform independent whereas JVM is dependent on the OS ?
How is the Java platform independent when we need to have JVM on every machine to run Java programs?