LEADTOOLS Support
Document
Document SDK FAQ
HOW TO: Add LEADTOOLS .jar files to a project in Eclipse
#1
Posted
:
Thursday, July 25, 2019 3:11:08 PM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 89
Was thanked: 4 time(s) in 4 post(s)
The libraries that are required for the LEADTOOLS Java implementations are located in the following default file path:
C:\LEADTOOLS 20\Bin\Java
Once you have your workstation open and a project setup to begin working on, you will need to add Referenced Libraries to the project from the LEADTOOLS file folder
These can be found in the Package Explorer
To add these existing .jar files you can go through >> File >> Properties
Once opened the Properties page will look like the image below and provide a tree path for navigation on the left
You will need to select >> Java Build Path >> Classpath >> Add External JARs...
Once there, select the file path location for the LEADTOOLS .jar files and select any needed for the functionality being incorporated into your application
In addition to these needing to be included into the project, you will need to programmatically reference some of the libraries being used.
For Example:
JavaCode:try{
Platform.setLibPath("C:\\LEADTOOLS 20\\Bin\\CDLL\\x64");
Platform.loadLibrary(LTLibrary.LEADTOOLS);
Platform.loadLibrary(LTLibrary.DOCUMENT_WRITER);
}catch (Exception ex) {
ex.printStackTrace();
}
Chris Thompson
Developer Support Engineer
LEAD Technologies, Inc.
LEADTOOLS Support
Document
Document SDK FAQ
HOW TO: Add LEADTOOLS .jar files to a project in Eclipse
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.