+ 1

jvm is os dependent or independent?

15th Aug 2016, 5:42 AM
Dheeraj Maheshwari
Dheeraj Maheshwari - avatar
10 Antworten
+ 6
JVM is platform dependent. Keep in mind, Java is compiled and translated to machine code, so the JVM needs to know what kind of os/machine is running on. Java language, however, is platform independent, since the same language will generally work with all it's JVMs save for a couple things regarding direct computer access.
15th Aug 2016, 5:47 AM
James
James - avatar
+ 4
java virtual machine is platform dependent. but the functionality is same in all jvms. once the java compiler complied the java source code then .class file is platform independent.you can use .class file any platform.
15th Aug 2016, 6:48 AM
AKSHAY MALVIYA
AKSHAY MALVIYA - avatar
+ 1
I mean in terms of things like accessing certain files that are specific to an os, like CMD.exe. Or the way file paths are done. Also, running c/c++ in your code would limit it's independency
15th Aug 2016, 5:55 AM
James
James - avatar
+ 1
it is dependent but the bytecode is independent
15th Aug 2016, 4:07 PM
Shivam Ghate
+ 1
dependent
17th Aug 2016, 8:14 AM
Nicolas Tayo Atte
Nicolas Tayo Atte - avatar
0
what's direct computer access?
15th Aug 2016, 5:50 AM
Dheeraj Maheshwari
Dheeraj Maheshwari - avatar
0
dependant on java source program and bluj
21st Aug 2016, 3:51 AM
Khushii Hotwani
Khushii Hotwani - avatar
0
JVM is os dependent it depends on operating system and after identifying os it translate the source code into bytecode and then into machine code
23rd Aug 2016, 1:24 PM
jeet singh
jeet singh - avatar
0
it is dependent
24th Aug 2016, 1:39 PM
Rohit Meshram
Rohit Meshram - avatar
0
It's os independent after we compile we can run it anywhere, The slogan perfectly matches write once run anywhere
7th Sep 2016, 9:35 AM
saiteja gundapu