• 13 April

    No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?

    If you are getting below error while running the Maven build. No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? There are 3 ways to solve No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?. Eclipse maven […]

  • 27 March

    Could not find or load main class

    In this post, we will discuss Could not find or load main class. Did you get this error before? If you have good amount of experience in Java programming or as a novice java developer, you might have encountered this error: Could not find or load main class. Before we understand about this error, let’s first […]

  • 28 October

    Could not reserve enough space for object heap

    In this post, we will see an error(Could not reserve enough space for object heap) which you might have encountered while dealing with JVM.We will see how can we fix this issue. This error is generally raised when Java process can not create java virtual machine due to memory limitations. Before we go through causes […]

  • 28 October

    Error could not create the Java virtual machine in java

    In this post, we will about an error: Could not create the Java virtual machine in java. You can provide VM arguments to provide heap size for Java virtual machine. You can specify VM argument -Xms and -Xmx in form of KB, MB or GB. For example: Let’s say you want to specify maximum heap […]

  • 27 October

    How to fix class interface or enum expected error in java

    In this post, we will see how to fix "class interface or enum expected" error in java. There can be multiple reason for getting this error. Due to method outside class body This error you will generally get when you have accidentally put your method outside class body. Let’s see with the help of simple […]

  • 27 October

    How to fix illegal start of expression error in java

    In this post, we will see how to fix "illegal start of expression" in java. You will get this error while using javac command in command prompt. In eclipse or any other ide, it will give you more helpful compile time error. There can be multiple reasons for getting this error. Using private, public or […]