No, it's not generalization, and I haven't heard that term used in the context of Java... are you sure you don't mean 'Generics'?
As Nicholas has said, you need to learn about setting the classpath. If you're using any IDE (Eclipse? NetBeans?) there is a setting for the compile time and run time classpath.
Never used Eclipse myself, but NetBeans builds a lib folder in the dist folder and creates a ReadMe.txt file with adequate instructions for deploying the application.
Here's a link that will give you plenty of tutorial matter to read through, all of it useful even if not directly applicable to your present problem.
Sun Microsystems - Search
db