is JVM platform dependent or independent..?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
What is stack example?
What are the differences between wait() and sleep()?
class a extends b { } class b extends a { } why java doesn't support cyclic pls explain me with example
Can a serialized object be transferred via network?
write a simple program inheritance?
Do I need java on my pc?
Why is multiple inheritance not supported in java?
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?
Can we declare static variables in JSP page.
what is language and it responsibilities
What is the use of Getters and Setters method ?
Difference between character constant and string constant in java ?