Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

JVM is Platform dependent or independent ?

user-image
Question ajoutée par Utilisateur supprimé
Date de publication: 2014/01/16
Sandhya Binoy
par 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..!!

Utilisateur supprimé
par Utilisateur supprimé

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
par 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
par Kamal Hasija , Web Developer , The Brihaspati Infotech Pvt. Ltd.

jvm is platform dependent

Shabeer Mohamed Muthachodi
par Shabeer Mohamed Muthachodi

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

 

 

 

 

Huzefa chikhly
par 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 .

Utilisateur supprimé
par Utilisateur supprimé

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