Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

How to use third party library

Avatar

Level 2

Hi,

How do i use third party library in ALC process ?
I try to use of PDFBox library for extracting PDF Page contents. But i am facing issues when accessing it.

I just copy the jar file into "C:\Adobe\Adobe LiveCycle ES2\jboss\server\lc_turnkey\lib" location.
And have java code in execute scipt opration.

The error located in below line of code and it seems like load method not available in PDDocument Class.
PDDocument.load(pdfFile);

But the same java code successfully execute in Eclipse java application.

Please let me know what is issue in my steps.

Regards,
Sridhar

2 Replies

Avatar

Level 2

Yes your Correct! This can be achived throw create a new custom component.