Yahoo Canada Web Search

Search results

    • Completely platform-dependent

      • Although the byte code is platform-independent, JVM is completely platform-dependent because it translates byte code into native code that can be executed by the system. JVM translates code according to the platform it is working on. For example, a code translated by JVM on Windows OS cannot be executed in macOS and vice versa.
      dev.to/akshays81992169/why-and-how-is-java-platform-independent-p5d
  1. Jan 22, 2010 · No, JVMs are not platform independent. In fact they are platform specific run time environment provided by the vendor. Each platform (Windows, UNIX, Mac etc) has its own JVM to run Java applications. Although the byte code supports connection to multiple databases..

  2. Jul 25, 2024 · An important point to be noted is that while JAVA is a platform-independent language, the JVM is platform-dependent. Different JVM is designed for different OS and byte code is able to run on different OS.

  3. Although Java itself is platform independent, the JVM is not. The JVM is responsible for converting bytecode into native machine code, which is unique to each operating system and...

    • Rezaur Rahman
  4. Java is a platform-independent language. It's because when you write Java code, it's ultimately written for JVM but not your physical machine (computer). Since JVM executes the Java bytecode which is platform-independent, Java is platform-independent.

  5. A Java virtual machine (JVM) is a virtual machine that enables a computer to run Java programs as well as programs written in other languages that are also compiled to Java bytecode. The JVM is detailed by a specification that formally describes what is required in a JVM implementation.

  6. Java Virtual Machine. Is JVM platform independent or dependent? The JVM is not platform independent. Java Virtual Machine (JVM) provides the environment to execute the java file (. Class file). So at the end it's depends on your kernel , and kernel is differ from OS (Operating System) to OS.

  7. Nov 3, 2022 · Although the byte code is platform-independent, JVM is completely platform-dependent because it translates byte code into native code that can be executed by the system. JVM translates code according to the platform it is working on.

  1. People also search for