Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Opentext Java Library and Eclipse

Status
Not open for further replies.

devinev

Technical User
Jan 12, 2006
4
US
I am developing a java application in Eclipse and am having trouble referencing the Open Text library. I have the following reference in my java code:

import com.opentext.api.*;

and created an opentext variable that points to C:program Files/Open Text/Livelink API/bin.

On compile of the application the com.opentext.api library are coming up as errors. I can find nothing on the internet to suggest what I have to do to fix this problem.

If anybody can help I would really appreciate it.
 
In my install C:\Program Files\Open Text\LAPI\bin
gives me dll files that C++ uses.Aren't you developing in java so shouldn't you be looking for eithr class or jar files in mine they are here
C:\Program Files\Open Text\LAPI\lib
Set your class path where your program can read the jar or the individual class files.

Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
 
You have to add <OPEN_TEXT>\LAPI\li\lapi.jar.

1. Go in your project properties.
In "Java Build Path", tab Libraries.
Click "Add External Jars..." and choose the lapi.jar.

OR

2. Go in the Eclipse preferences (Window, preferences).
Go in Java, Build Path, User Libraries.
Create a "New..." library (just give it a name).
Click on that library and choose "Add JARSs...".
Simply add the lapi.jar file.

Go in your project properties.
In "Java Build Path", tab Libraries.
Click "Add Library...".
Choose User Library and click (checkbox) the library
you just created.

Regards.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top