Category Archives: Java

How to convert Java class file to source code

Java Decompiler A Java decompiler is a reverse engineering tool that can be used to convert Java bytecode back to Java source code. It became useful when we had the compiled Java classes (in the form of bytecode, typically stored in a.class file) but not the original source code. In this tutorial, we will learn… Read More »

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 »

Shallow Copy Vs Deep Copy

Shallow Copy A shallow copy is a type of copy made by cloning or copying the original object, but it does not contain copies of objects nested within the original object. Instead, it creates a new copy that references the same nested objects as the original object. Let’s understand with the following diagram: As we… 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 »