I need to run wdiff
from a JAR file. Locally, I do this by invoking a process that runs either the wdiff
binary manually installed on a Linux server or a wdiff.exe
located in a convenient nearby folder on Windows.
Now, I need to deploy to AWS Lambda, and can't rely on wdiff
(or its dependency, diff
) to be installed. So how can I get wdiff
to run on Lambda?
I guess there are two possible questions/solutions here:
- Is it possible to include a third-party binary on the AWS Lambda container?
- Is it possible to bundle an executable binary inside a JAR file and execute it from code?