I wanted to try to use documents4j in order to convert a doc to PDF. I follow these instructions here http://documents4j.com/#/develop. When I type mvn package an
mvn package
Your JAVA_HOME point to a jrenot to a JDK. Change the JAVA_HOME variable and it should work
JAVA_HOME
jre
JDK