Category Java

Hello World Program in Java

Java Program life cycle

In this tutorial, we will learn how to write the first simple hello world program in Java. Writing a simple program in Java is very easy, as in other programming languages. The Hello World program is the first and most…

Interpreter in Java | Interpreter vs Compiler

Process of converting byte code into machine code

An interpreter in Java is a component within the Java Virtual Machine (JVM) that reads and executes bytecode instructions line by line at runtime. However, modern JVM also rely on Just-In-Compiler (JIT) compiler to convert frequently executed code into native…

What is Java Compiler | How Works It

How Java compiler works

The Java compiler and Java Virtual Machine (JVM) are the most fundamental components used in Java programming. A Java compiler is a computer program that compiles Java programs (source code). During the compilation process, it converts (translates) source code written…

What is JRE (Java Runtime Environment) in Java

Complete Diagram of Java Runtime Environment (JRE) in modern Java.

We know from the previous tutorial that the three most basic components of Java platform are Java Virtual Machine (JVM), Java Runtime Environment (JRE), and Java Development Kit (JDK). The Java Runtime Environment (JRE) is a software environment in which…