

The Java Native Interface (JNI) can also be used to access OS-specific functions, with a loss of portability.Ĭurrently, Java Standard Edition software can run on Microsoft Windows, macOS, several Unix-like OSs, and several real-time operating systems for embedded devices. For example, disk and network access is usually enabled for desktop applications, but not for browser-based applets. This lets users to decide the appropriate protection level, depending on an ACL. The JVM makes the system calls on behalf of the Java application.
REACT NATIVE GAME ENGINE CODE
Java code running in the JVM has access to OS-related services, like disk I/O and network access, if the appropriate privileges are granted. Java software can be executed by a hardware-based Java processor. This enables the same code to run on all systems that implement a JVM. The Java VM ( JVM) is a CPU implemented in software, which runs all Java code. The Java language is typically compiled to run on a VM that is part of the Java platform.
REACT NATIVE GAME ENGINE ANDROID


For example: x86 architecture and its variants such as IA-32 and x86-64. For example, the Java platform is a common VM platform which runs on many OSs and hardware types.Ī hardware platform can refer to an instruction set architecture. Applications can be written to depend on the features of a particular platform-either the hardware, OS, or virtual machine (VM) it runs on. There are, however, many devices such as smartphones that are also platforms. Other well-known desktop platforms are Linux/ Unix and macOS - both of which are themselves cross-platform. An example of a common platform is the Microsoft Windows OS running on the x86 architecture. Platform can refer to the type of processor (CPU) or other hardware on which an operating system (OS) or application runs, the type of OS, or a combination of the two.
