Error

Solve Error Could not reserve enough space for object heap

So in this article, We’ll see how to solve the error “Could not reserve enough space for object heap”. While solving this error you will be also able to solve the following errors which occurs due to the same reasons: Error Occurred during initialization of VM Could not allocate metaspace Unable to allocate bitmaps for …

Solve Error Could not reserve enough space for object heap Read More »

Solve Java Command Not Found Error – ‘java’ is not recognized as an internal or external command

If you’re new to java programming, the error “java command not found” or “’java’ is not recognized as an internal or external command, operable program or batch file” may have occurred to you. There are 2 reasons that you’re facing “Java command not found” in your Linux/Mac java’ is not recognized as an internal or …

Solve Java Command Not Found Error – ‘java’ is not recognized as an internal or external command Read More »

Solve Cannot make a static reference to the non-static method Error

Here you will learn to solve error “cannot make a static reference to the non-static method” or “non static method cannot be referenced from a static context”. Lets take one example where this error occurs. When you will compile below code then you will get an error.

Why this Error Occurs? This error occurs …

Solve Cannot make a static reference to the non-static method Error Read More »

Solve java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver Error

In this tutorial you will learn to solve java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver error. If you are using jdk 1.8 and trying to connect java with MS Access database then you will get error java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver. This is because java 8 or jdk 1.8 does not support jdbc odbc bridge. To connect with ms access you have to import some …

Solve java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver Error Read More »