Hi headless-dev team,
I'm a developer. I'm facing an issue now. I've tried thousands of different solutions. None of them work for me.
I'd like to build a docker image with Java JDK17 and google chrome environment. From there, In java code, I can execute a new "process" to run commands like "google-chrome --headless --print-topdf="mypdf.pdf raw.html". I'd like to run a command CLI to convert an existing html file into a pdf file. (Also get invalid arguments or qemu errors)
But I eventually failed. I've brosed many solutions, but no one worked for me. Would you help me with this?
heaps thanks