Adding a third-party jar into a project

Greetings:

I'm new to Sun Java Studio.

I'm trying to build a project that includes some third party packages (from Funambol). I've added the jar files in the libraries in my project.

When I open them I can see the tree all the way down to the fields and methods.

E.G.:

- Libraries

- FunambolLibrary

- framework

- engine

- source

- AbstractSyncSource.class

- AbstractSyncSource

+ Fields

+ Constructors

+ Methods

...

However in the IDE, the import statement in the source is flagged with an error:

import com.funambol.framework.engine.source.*;

The error is "Package com.funambol.framework.engine.source does not exist".

Of course when I compile it I get an error.

I have already checked to see that the directory is in my CLASSPATH environment variable.

Does anyone know what I'm doing wrong?

Feel free to reply via email, if you'd like, to paulc@orcasnet.com

Thanks in advance for your help.

[1048 byte] By [PaulCarricka] at [2007-11-26 16:21:43]
# 1
Hi Paul,seems that "Package com.funambol.framework.engine.source does not exist" error message is correct.Your libraries tree should look like:-Libraries-- yourImportedJarName package x package y com.funambol.framework.engine.source
Jin_Ba at 2007-7-8 22:45:26 > top of Java-index,Development Tools,Java Tools...