We will start with differences between JDK, JRE and JVM and then internals of Compiler and JVM
Hello guys, I am back with a new blog and in this blog, we are going to talk about some important aspects of Java such as
Let us first start with the differences between JDK, JRE, and JVM.
The Java Compiler compiles the source files (*.java) into class files. Each class file contains machine-independent byte code, and once compiled, it can be executed on any machine. Therefore class files are platform-independent whereas JVM is platform dependent. The reason behind this is JVM makes use of the internals of the Operating System. That is why we have different setups for different operating systems. The JVM transforms the byte code into machine code or native code.
The compilation of source files involves the following steps
*Parse — *Reads source files and then maps the resulting token sequence into the Abstract Syntax Tree. The Abstract Syntax Tree is a tree representation of the abstract syntactic structure of source code. Each node in a tree denotes a construct occurring in the source code. The syntax is “abstract” in the sense that it does not represent every detail appearing in the real syntax, but rather just the structural or content related details
*Enter — *Enter symbols for the definitions into the symbol table. The Symbol table stores information about various entities such as variable names, function names, objects, classes, interfaces, etc. A symbol table may serve the following purposes
What is OpenJDK? OpenJDk or Open Java Development Kit is a free, open-source framework of the Java Platform, Standard Edition (or Java SE).
Check out some ideas for sample projects that can help you learn Java, and programming in general, in a fun and engaging way.
In this post, we look at a common problem facing Java developers: how to install multiple versions of the JDK on the same machine. Let's find out.
This blog is the first in the series, where we will explore Java JIT, HotSpot, Graal, Truffle, Quarkus, and how to build the most optimum Java MicroServices.
In this video we will learn about all the major concepts that come under Java Core . The course is very carefully designed and is made with keeping simplicit...