Login

Overview

Java programming language was originally developed by Sun Microsystems which was initiated by James Gosling and released in 1995 as core component of Sun Microsystems’ Java platform (Java 1.0 [J2SE]).

The latest release of the Java Standard Edition is Java SE 8. With the advancement of Java and its widespread popularity, multiple configurations were built to suit various types of platforms.

The Java Virtual Machine: Java is platform independent. This means that it will run on just about any operating system. So whether your computer runs Windows, Linux, Mac OS, it’s all the same to Java! 

The reason it can run on any operating system is because of the Java Virtual Machine. The Virtual Machine is a program that processes all your code correctly. 

Hence Java Virtual Machine (JVM) is necessary before we run any code.

  • The java compiler takes a .java file and generates a .class file
  • The .class file contains Java bytecodes, the assembler language for Java programs
  • Bytecodes are executed in a JVM (java virtual machine).
  • The JVM interprets the bytecodes
  • JVM is platform/OS specific, must ultimately run the code

 

ASSIGNMENT : How does JVM work ? MARKS : 10  DURATION : 15 seconds

SEE ALL Add a note
YOU
Add your Comment
 
© JSJR Solutions Private Limited 2022 All rights reserved.
WhatsApp us whatsapp