https://bz.apache.org/bugzilla/show_bug.cgi?id=66663

--- Comment #4 from Ramyashree <ramyashree0...@gmail.com> ---
(In reply to sfisque from comment #1)
> you might need to pass -Djava.awt.headless=true to the jvm launched inside
> the docker image

DockerFile:

FROM alpine:3.18.2
RUN set -ex && apk add --no-cache openjdk11-jre-headless
RUN addgroup -g ${group_id} -S ${group_name} && adduser -u ${user_id} -S -G
${user_name}
USER ${user_name}
WORKDIR /opt/project
COPY --chown=${user_name} myjar.jar myjar.jar
ENTRYPOINT ["sh", "-c", "java -Djava.awt.headless=true -jar myjar.jar ${@}"]


Encountering Caused by: java.lang.NoClassDefFoundError: Could not initialize
class sun.awt.X11FontManager

Passing -Djava.awt.headless=true did not help.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to