I have a .jar which contains a class that I want to use: FooBar.class . This class is not in a package, its just sitting in the root directory of the .jar.
I've added the .jar to the project as a library, but the problem is, I don't know how to import it since its not in a package.
If I simply do: import FooBar;
I get the error: . expected
, and I'm not able to use FooBar
class anywhere since it says Symbol not found
.
Any ideas?