An abstract computing machine, or virtual machine , JVM is a platform - independent execution environment that converts Java bytecode into machine language and executes it.
Java Virtual Machine is the one which change the source code in to the code that is executable through the system so that this helps in making the Java Platform independent as this coude is accessible in any of the operating system
JVM JVM stands for Java Virtual Machine. As the name indicates, it does not a real hardware machine but a software layer which resembles an hardware platform. JVM helps to run java programs on different Operating system platforms. The JVM will be different for different Operating Systems. ie there will be separate JVM for Windows and Linux. Now i am going to explain how Java achieves platform independents with the helps of JVM. We can write the java program on any platform. The source program is then converted to byte code using a Java compiler. The compiler will be different for different platforms. The byte code can be executed on any platform where there exist JVM.
JVM stands for Java Virtual Machine. It is the engine that drive the java code. It is the medium which converts java code to bytecode which get translated on different machine and hence it makes it platform/os independent.
Java is platform independant because of JVM i.e Java Virtual Machine. As different computers with different oerating system hav their own JVM,when we submit '.class' file to any ooperating system,JVM interprete the bytecode into machine level language.