How to Fix java.lang.UnsupportedClassVersionError 1. Introduction In this short tutorial, we’re going to learn what causes the Java runtime error java.lang.UnsupportedClassVersionError: Unsupported major.minor version and how to fix it. 2. A Look at the Error Let’s start by looking at an example error: Exception in thread “main” java.lang.UnsupportedClassVersionError: com/baeldung/MajorMinorApp has been… Continue Reading java-lang-unsupportedclassversion

OutOfMemoryError: GC Overhead Limit Exceeded 1. Overview Simply put, the JVM takes care of freeing up memory when objects are no longer being used; this process is called Garbage Collection (GC). The GC Overhead Limit Exceeded error is one from the family of java.lang.OutOfMemoryError and is an indication of a… Continue Reading java-gc-overhead-limit-exceeded