masfenix
masfenix

Reputation: 8006

How to add a reference in Eclipse

I have developed a little software in ACCESS/VBA. It dealt with Lotus Notes so in Visual Basic editor I just went to tools -> references and checked the Lotus Notes Automation classes which allowed me to work with it.

Now I wanna port this to Java. Last time i used java was about 4 years ago. I got my company to install Eclipse on my computer. I dont think i'll have trouble programming it because I come from a .net (C#) background.

HOWEVER, I can't seem to find a way to reference the LotusNotes classes through Eclipse. The class is a "tlb" file in the program files directory.

Upvotes: 11

Views: 57944

Answers (1)

ring bearer
ring bearer

Reputation: 20783

  1. Right click on your project and select Properties to open the Properties dialog.
  2. Click on Java Build Path on the left navigation tree.
  3. Select the Libraries tab on the right.
  4. Add your Jars to the list.

    Note: You can also add link to a class folder by clicking the Add Class Folder button on right.

Screenshot of the Properties Screen

Upvotes: 23

Related Questions