answersLogoWhite

0

Yes. The JVM is an executable program, that is, it contains instructions in machine language - for a specific processor. Since different processors have different sets of instructions, the instructions for one processor won't work on another one.

User Avatar

Wiki User

11y ago

What else can I help you with?

Related Questions

Different platforms required to have different type of JVM yes or no give reason?

because every thing in java deals only with java like ,1.reference to class in assinging parameters2.object can be called as parameters3.we can also return the objects in javaif u have still doubt in mind then u can as


Is JVM same for UNIX and window operating system?

Logically, for all intents and purposes the functionality of the JVM is the same in Windows and other operating systems, including Linux, Unix (and variants), z/os, etc. A Java program utilizing the JVM will run the same way on all the different platforms.


Why is the JVM platform dependent?

That depends on how you look at it. The point of the JVM is to allow Java bytecode to be executed on any platform, regardless of what machine it was compiled on. The actual implementation of the JVM, however, must be platform-specific.


Are JVM is platform independent?

No, they must be designed for specific platforms. The compiled programs are platform-independent.


JVM is platform dependent then why JAVA is platform independent?

The idea is that, once you have a JVM available for a platform, the same Java program works on different computers. This is unlike many other programming languages, which need to be recompiled for different platforms, or perhaps don't work even if recompiled, due to platform-specific differences.


How is it possible that the same Java program can run on different platforms?

Java source code is compiled into .class files, which are used by the Java Virtual Machine (JVM). The format of the .class file is the same for all platforms, and so the source code can be compiled the same way on each platform. The JVM, however, needs to be written to run on a specific platform. This is the part which converts Java bytecode to native bytecode, and is why you need to download the JRE (which contains the JVM) for a specific platform. Java source code is compiled into .class files, which are used by the Java Virtual Machine (JVM). The format of the .class file is the same for all platforms, and so the source code can be compiled the same way on each platform. The JVM, however, needs to be written to run on a specific platform. This is the part which converts Java bytecode to native bytecode, and is why you need to download the JRE (which contains the JVM) for a specific platform.


Is java virtual machine dangerous?

JVM is a critical component in almost all Java platforms. I would hardly define it as "dangerous".


What does platform-independent language?

That refers to programming languages, and specifically to languages that run on many different platforms. An example is Java, which runs on any machine and operating system that has a special program (the JVM, Java Virtual Machine) designed for that "platform".


Platform independent languages?

That refers to programming languages, and specifically to languages that run on many different platforms. An example is Java, which runs on any machine and operating system that has a special program (the JVM, Java Virtual Machine) designed for that "platform".


Can you have more than one jvm?

Yes you can. PS: Each JRE version would have a different JVM. If you have multiple JRE versions in your machine then you would have multiple JVMs


What is purpose of JVM?

JVM stands for Java Virtual Machine The JVM is the system in which our Java programs are executed.


Is JVM is part of compiler?

no jvm is not a part of java compiler