Installing the latest Openfire 4.2.1. on windows 7 failed.
The installation went ok, except for the part when during initial configuration you can enter a password for the admin user. This step fails with a JSP stacktrace: java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter.
You can skip this page, but it won’t help. Other failures like : java.lang.IllegalArgumentException happen.
Some digging gives the indication that Java 9 is used without adding the proper modules. This was strange while although a java 9 is installed, The Java_home and the Path is directing to a java 8 version. Apparently the startscripts find still a reference to the java 9 installation.
Tried to force adding the module by adding the line “–add-modules java.xml.bind” to a openfire-service.vmoptions or a openfired.vmoptions but no difference noted.
Also tried re-installation with the -manual option and specifying a java 8, but did not help.
My assumption for now is that my mixup of java version confused the install4j scripts and mixed up things.