The problem discussed in
still exists, even with the final release of JDK8.
In the JDK8 documentation page
there are instructions:
that are not working any more, because some classes have been removed:
for example: the "AnnotationProcessorFactory".
Removing this class was planned in JEP 117:
There is still no working alternative offered.
In my case I am trying to automate XSD schema file generation from annotated Java sources as part of a (Apache Maven based) build process .