The JVM executes Java code but is written in platform a language that is specific as ASM/C/C++ etc. The JVM is not written in Java and hence cannot be platform self-employed. JVM — a machine within a machine — mimics a real Java processor, enabling Java bytecode to be executed as actions or operating system calls on any processor chip no matter the operating system. About example, establishing a plug connection from a workstation to a remote machine involves an operating system call. Since different functioning systems handle sockets in several ways, the JVM converts the programming code so that the two machines which may be on different programs have the ability to connect.
Platform self-employed means, the Java gathered program can be run on any operating system. Because when you make a program, you will get a class file which is made up of byte code which is specific to Java. That bytecode can understand by JVMs (Java online machines).
For different working systems, different jvms will be there. So the JVM will convert the byte code into machine understandable code. So as the JVM is different for different operating systems no need to be anxious much, that will manage to explain to the operating system.
One of the key reasons Java technology is useful in a network environment is that Java makes it possible to create binary executable that will run unchanged on multiple platforms. This is very important in a networked environment because sites usually interconnect many different sorts of computers and devices.
Within a typical enterprise environment, for example, a network might hook up Macintoshes in the fine art department, UNIX workstations in engineering, and PCs operating Windows everywhere else. Though this arrangement permits various kinds of computers and devices within the company to share data, it requires a great package of administration. Such the network presents a process manager with the task of keeping different platform-specific versions of programs up to date on many different sorts of computers.
Applications that can run without change on any network computer, regardless of the computer’s type, make the system administrator’s job less difficult, particularly if those programs can be delivered across the network.