Skip to content

javaldx: Could not find a Java Runtime Environment! #211

@zoemrob

Description

@zoemrob

So I believe I followed the instructions, not sure if I missed something though.

FROM public.ecr.aws/shelf/lambda-libreoffice-base:7.4-node16-x86_64

COPY index.js package.json ${LAMBDA_TASK_ROOT}

RUN npm install

CMD [ "index.handler" ]

This is my Dockerfile I have my app code in index.js.
I'm running docker build --platform linux/x86_64 -t convert-to-pdf . and then deploying that image to my ECR registry and deploying that on my lambda function.
It's all working, except when I call the convertTo method I end up getting this chunk of errors:

javaldx: Could not find a Java Runtime Environment!
Warning: failed to read path from javaldx
Error: Please verify input parameters... (SfxBaseModel::impl_store <file:///tmp/SampleResume.pdf> failed: 0xc10(Error Area:Io Class:Write Code:16) at /home/buildslave/source/libo-core/sfx2/source/doc/sfxbasemodel.cxx:3207 at /home/buildslave/source/libo-core/sfx2/source/doc/sfxbasemodel.cxx:1783)

I haven't seen anyone else having this issue, so I'm unsure what the problem could be.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions