I've done it before but I don't really remember. Go to the
project settings panel. On one of the tabs, there will be
an "Advanced" button. Pressing this will give you more
options, one of which is setting the classpath (I think it
is one of the key-value pairs). This should work with
packages as well as jar files; it has definitely worked for
me in the past in both settings.
hth