is JVM platform dependent or independent..?

Answers were Sorted based on User's Feedback



is JVM platform dependent or independent..?..

Answer / vamsi

JVM refers Java Virtual Machine. JVM is a program which
will convert byte code instructions into machine language
instructions understandable by Micro processor. Java
program write once, later on run anywhere.

JVM is a system dependent, because it was developed in C
language, where as class file is a system independent.


Sun Microsystems has developed different JVMs for different
operating systems. Hence, you can write a single Java
program and generate the class file which can be executed
on any other operating system.


note# let us know if iam wrong.

Is This Answer Correct ?    126 Yes 13 No

is JVM platform dependent or independent..?..

Answer / sadhi

jvm is a program and it is system dependent. Because every
system differentiate in developing tools and software..
so, the jvm software is convert the class file which is have
byte code into machine code to according to that specific
configuration. Since jvm is depend on the system software
and hardware..

Is This Answer Correct ?    40 Yes 2 No

is JVM platform dependent or independent..?..

Answer / vikrant sharma

JVM refers to Java virtual machine.As you know JVM takes
byte code and convert it into format that is understandable
by microprocessor.Since Every machine has its own JVM like
windows has own JVM, linux has own JVM,Macintosh has
different,etc.This means JVM depends upon Operating system
that means JVM is platform dependent.But that byte code
able to run on any machine that has JVM(JRE)..

Is This Answer Correct ?    20 Yes 0 No

is JVM platform dependent or independent..?..

Answer / bapu

x.java file compiled by compiler.but .class file contains
source code equivalent to byte code.
But the microprocessor cannot understand byte code
instructions,neither can it execute them.Jvm can convert
byte code into machine code.JVM is not a machine-it is a
program.
jvm is system dependent.

Is This Answer Correct ?    12 Yes 1 No

is JVM platform dependent or independent..?..

Answer / ravi

Java "the language" is platform-independent. To make it so,
there is a platform-specific JRE that knows how to run the
platform-independent Java code on a specific platform.

The JVM could be called platform-independent because it
produces the same results running the same Java code on
different platform(). It is however (at least partially)
implemented as a platform-dependent executable.

Is This Answer Correct ?    44 Yes 36 No

is JVM platform dependent or independent..?..

Answer / guest

java is platform independent.

Is This Answer Correct ?    26 Yes 21 No

is JVM platform dependent or independent..?..

Answer / jporter

I very much liked this explanation:

http://www.programmerinterview.com/java/is-jvm-platform-dependent.php

Is This Answer Correct ?    5 Yes 1 No

is JVM platform dependent or independent..?..

Answer / suji

JVM IS A PLATFORM DEPENDENT

Is This Answer Correct ?    4 Yes 3 No

is JVM platform dependent or independent..?..

Answer / megha pandav

We can't directly says that JVM is platform independent but
due to JVM java has become platform independent.Because JVM
convert byte code into the microprocessor readable format.so
that code able to run on any machines like windows,
linux,Macnitosh etc...

Is This Answer Correct ?    4 Yes 8 No

is JVM platform dependent or independent..?..

Answer / kanhaiya sharma

JVM REFERS TO JAVA VERTUAL MACHINE.
MAINLY WORK OF JVM IS THAT CONVERT BYTECODE INTO MACHINE
CODE.

YES,JVM IS PLATEFORM-INDEPENDENT BACAUSE EVERY OS HAVE OWN
PRE-INSTALLED JVM THAT SUPPORTS TO JRE(JAVA RUNTIME
ENVIORMENT)AND JRE RESPONSIBLE FOR PROVIDE RUNTIME
ENVIORMENT TO EVERY OS.

Is This Answer Correct ?    0 Yes 6 No

Post New Answer

More Core Java Interview Questions

What is stack example?

0 Answers  


What are the differences between wait() and sleep()?

0 Answers  


class a extends b { } class b extends a { } why java doesn't support cyclic pls explain me with example

3 Answers   Wipro,


Can a serialized object be transferred via network?

0 Answers  


write a simple program inheritance?

2 Answers   Polaris,






Do I need java on my pc?

0 Answers  


Why is multiple inheritance not supported in java?

0 Answers  


My application URL : http://localhost:8080/Application/Login.jsp. When a user enter this url in IE then, how it get Login.JSP Page exactly? what are the processes will happen from when we submit the URL to get Login.jsp?

3 Answers   IBM, TCS,


Can we declare static variables in JSP page.

3 Answers   TCS,


what is language and it responsibilities

1 Answers  


What is the use of Getters and Setters method ?

4 Answers  


Difference between character constant and string constant in java ?

0 Answers  


Categories