Register now or log in to join your professional community.
Java is platform independent.JVM(Java Virtual Machine) is platform dependant.
JVM converts bytecode into machine language and execute the machine language instruction.
Java source code->java compiler->Java object code(class file).Class file is platform independent.
Java Object Code->JVM(Java Interpreter)->Machine language.
jvm is platform dependant..!! it helps java to be platform independant..!!
JVM - Java Virtual Machine.1. Java code in English (.java file) - written by programmer.2. Compiled java class (.class file) - created by java compiler from .java file which is platform independent.3. JVM will execute the .class file over the different platform of processors and operating systems with optional help of Just-In-Time compiler. So ultimately we will get to know the JVM is platform dependent.
JVM in Platform Dependent. Where as java is platform independent.
java is platform independent and JVM is platform dependent.
jvm is platform dependent
JVM is made as platform dependent to make Java programs platform independent.
Java Virtual Machine (JVM ) is platfor independent . It will convert the java code into byte code whi compiling . so we can run that file (class files) in different machine any where any time. we dont need to compile code again. we can run it in Windows machines as well as linux and different Operating systems .
JVM is Platform Dependent, Every OS has separate JVM which will run the byte code of java developed on same/other OS