javaldx: Could not find a Java Runtime Environment!
See original GitHub issueSo 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.
Issue Analytics
- State:
- Created a year ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Javaldx: Could not find a Java Runtime Environment!
Hi, I have a Bash script that uses LibreOffice (version 3.5.7.2) in order to open a spreadsheet (calc). The script first makes a...
Read more >Fixing "javaldx: Could not find a Java Runtime Environment ...
In such case, try installing default-jre package. 'javaldx: Could not find a Java Runtime Environment!' might be pointing to the right culprit, ...
Read more >How to fix LibreOffice Requires Java Runtime Environment Error
Troubleshooting. If you cannot find Java Runtime Environment after installing JRE, click on the Add button and browse-select the directory where ...
Read more >Install java Runtime Environment - Ask Ubuntu
When running the --help switch, I got this. $ /usr/lib/libreoffice/program/swriter javaldx: Could not find a Java Runtime Environment! Please ...
Read more >[Solved] javaldx: Cannot find a Java Runtime Environment
Try to install OOo from OOo site, it can be installed parallel to opensuse version, they have different user profiles, will not touch...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Adding the
java-1.8.0-openjdk-devel
package did allow me to run this.Thanks! It works well