Since the java.xml.bind module is no longer resolved by default (it's now
part of the java.se.ee group) it must be explicitly added to the list of
modules in order for the :groovy-xml:compileGroovy task to complete.  In
order to get the latest jdk-9 snapshot build to run locally I added the
following export.

export _JAVA_OPTIONS="-Djdk.launcher.addmods=java.xml.bind"

Just thought I'd pass this along in case someone else has found a better
solution they can share or in case it's possible and desirable to add this
extra environment variable to the TeamCity build in order to get it running
again.  From the jdk-jigsaw listserv it sounds as if these settings will
change soon so this may stop working soon.

John

Reply via email to