Thanks for the offer. BTW, the modularizaton part is done.
To be more precise, I am trying to have a single jar file which will be seen as modular on Java 9 and as a regular jar in older JVMs, with module-info.class ignored.
Quoting from The State of the Module System:
A modular JAR file can be used as a module, in which case its
module-info.class file is taken to contain the module’s
declaration. It can, alternatively, be placed on the ordinary class
path, in which case its module-info.class file is ignored. Modular JAR
files allow the maintainer of a library to ship a single artifact that
works both as a module, on Java SE 9 and later, and as a regular JAR
file on the class path, on all releases. We expect that
implementations of Java SE 9 which include a jar tool will enhance
that tool to make it easy to create modular JAR files.
This is the problem I am struggling with.
The details are still a bit murky but it seems to work now.