Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

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.