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 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 »

Solve javac is not recognized as an internal or external command Error

The error javac is not recognized as an internal or external command arises when we try to compile any java source file using javac command. The reason for this error is because the path of javac command is not set properly. This error can be solved easily by setting javac compiler path in environment variables. …

Solve javac is not recognized as an internal or external command Error Read More »