+ 1
Why java is called platform independent while it need jvm for running their byte code.?
who java is platform independent..? while it need jvm for running their byte code
8 Respuestas
+ 9
Yes but for any programming language or to make any code you need some software in your system.And for java you need JVM. Platform independent doesn't mean you don't need a software to run it.
+ 5
Java is platform independent because it can be run on any system. Once you create a code in java in your system, you can view it on any other system.Code create in some IDE can be edited or viewed on any other IDE. This feature of java makes it platform independent.
+ 4
In Java you can execute any compiled code on any platform that's why it is platform independent.It doesn't imply that you don't need a software to run it
+ 4
Java and JVM are two different things.
Java is a programming language, whereas, JVM is a computing machine which is used to translate(execute) any Java program into Java Bytecode.
The reason for Java being architecture neutral is JVM. JVM, on the other hand, is written "specifically" for a platform (like Windows, Linux etc.).
* Bear in mind that JVM is not even written in Java, that's why, it's not platform independent. *
+ 4
Java is platform independent language because Java program compiled code can run in all operating systems.....
compiler is responsible to convert Java source code into byte code and JVM is execute these bytecodes by converting them into the ML of current OS...
0
bt for this java required JVM in system.
0
jvm is a part of java ...java is platform independent it can run anywhere
0
Java is platform independent while it requires jvm to run as it is said jvm is designed for all leading platforms (OS) so if we write a code once we can execute the code on any machine provided you should have jvm. So java is also said "Write Once Execute Anywhere". Java also compiled the code and if it run on one machine it would run on other platforms too unlike other languages