Thanks Erel!
I was having Java (JDK+JRE) 7 version and now I have installed v6, and that error seemed to have gone.
Now another one has popped up.
The Java project that I created in Eclipse to act as a wrapper for the third party library I am about to use, it fails to find one of the base classes of that third party library.
This question maybe slightly different, but for the sake of keeping things in the same thread, I am asking it here.
It is weird, because the same Java project has b4a's Core.jar, B4AShared.jar and android.jar inside as well as this third party library, and everything else except this third party jar's class can be found.
Any idea why this might be happening?
I am using Eclipse's "export" option to make a jar out of my Java project.
Is this way making it tough for the generated jar to find that third party class?
Thanks once again.