Sunday, January 18, 2009

importing org.eclipse.swt and alike to project

I did a bit of googling and took a while before I figured out what I was supposed to do. So I'd thought it useful to put this up since a picture paints a thousand words. Having a visual explanation would be handy (even for my forgetful self in future).

Here are the steps:
  1. Right-click on your Referenced Libraries
  2. Navigate to Build Path
  3. Click on Configure Build Path...

  1. In the pop-up that appears, click on Add External JARs...
  2. Navigate to the destination folder (e.g. eclipse/plugins)
  3. Select the necessary .jar/.zip file and click Ok


Your project should have the related errors resolved now! Let me know if you encounter something different despite the above!

No comments: