Tag Archives: Java

Java 21 – Java 21 features with example

The new version of Java, Java 21, is finally released on September 19, 2023, as the next long-term support (LTS) version. Because of this LTS version, it will be used in commercial support as the next stable version. After working on a total of 2585 JIRA issues, of which 1868 were resolved by Oracle and… Read More »

How to resolve Eclipse version 1.8.0_301 of the JVM is not suitable for this product. Version 17 or greater is required. | Eclipse JVM is not suitable for this product

Whenever we install a new version of Eclipse IDE, which comes with the latest support for JVM, while opening Eclipse IDE, we may get the following error: Version 1.8.0_301 of the JVM is not suitable for this product. Version 17 or greater is required. Steps to resolve JVM version 17 or greater is required Step… Read More »

Observer design pattern in Java

The Observer design pattern is a Behavioral design pattern that defines a one-to-many dependency between objects so that when one object changes state, all its dependent objects (observers) are notified and updated automatically. This pattern is also known as the Publish-Subscribe pattern. Observer design pattern real world example Let’s understand the observer design pattern with… Read More »

Java Memory Management: Ultimate Guide for Performance and Optimization

Java Memory management in Java refers to the process of handling computer memory (RAM) effectively and efficiently to store and manage objects created during the execution of a Java program. It involves allocating memory to new objects when they are created and freeing up memory from objects that are no longer needed (garbage collection) to… Read More »