java error libreoffice

When I open certain documents I get this error. The same thing with java 8, 17 and 22