Ok well the question came up with what Minos said that we would not load all the libraries in a plugin when you are putting together some code. I was make a call to a connection and kept getting an error until i found the single java.sql class package that made it go away. It was not intuitive in my opinion. I also create a lot of little plugins for my server that use common libraries. I find it easier to upgrade them that way but I wanted to make sure I was not slowing down computers doing that. Also I see that area protection and some third party plug-ins load tons of lines in the logs that appears to slow down boot into the game so I wanted to discuss optimization.
from another thread..............Minos reply excerpted.
To be able to use all the classes of a package you need to import it as java.sql.* so that the import includes all the classes of the package and not just one.
having said that though it is not good practice to import huge packages if you are only going to use 3-4 classes thereof