I downloaded a package from the internet (specifically https://github.com/fusesource/jansi)
I want to access its classes by using the import
keyword, just like how you would import java's classes without putting them in the same package.
I want to do something like:
import downloadedPackage.Class;
that way, i can access the class without putting it in the same package as my program. Now the problem is, I don't know where to put the downloaded package, such that java would recognize the package if I import it.
I have searched the net for this but they suggest to put the class in the same package, which is not what i want.
I'm using eclipse btw, thanks in advance!
EDIT: I know that in eclipse, you can add a package, but an IDE independent solution would be great, since we are doing a collab group project in class, and not each of us are using Eclipse. Thanks