Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

JVM is Platform dependent or independent ?

user-image
Question added by Deleted user
Date Posted: 2014/01/16
Sandhya Binoy
by Sandhya Binoy , Software Professional , Karrox technologies

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..!!

Deleted user
by Deleted user

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.

Mohammed Shareefuddin
by Mohammed Shareefuddin , Project Associate , Cognizant Technology Solutions

JVM in Platform Dependent. Where as java is platform independent.

java is platform independent and JVM is platform dependent.

Kamal Hasija
by Kamal Hasija , Web Developer , The Brihaspati Infotech Pvt. Ltd.

jvm is platform dependent

Shabeer Mohamed Muthachodi
by Shabeer Mohamed Muthachodi

JVM is made as platform dependent to make Java programs platform independent.

 

 

 

 

Huzefa chikhly
by Huzefa chikhly , JAVA DEVELOPER , PRIMALINK SOLUTIONS INDIA PVT LTD

it is platform dependent.. but it make java programe to run and execute on any platform.

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 .

Deleted user
by Deleted user

platform independent

JVM is Platform Dependent, Every OS has separate JVM which will run the byte code of java developed on same/other OS

More Questions Like This