+ 1
jvm is os dependent or independent?
10 Answers
+ 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.
+ 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.
+ 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
+ 1
it is dependent but the bytecode is independent
+ 1
dependent
0
what's direct computer access?
0
dependant on java source program and bluj
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
0
it is dependent
0
It's os independent after we compile we can run it anywhere, The slogan perfectly matches write once run anywhere