Warning: Cannot use jsr199 Javac from jrt-fs.jar"

Keimpe Bronkhorst keimpe.bronkhorst at oracle.com
Thu Oct 8 00:54:51 UTC 2015

It is possible in JDK8 and before to run JSR199 compilations using a 
class loader that loads from tools.jar. I can't do something similar in 
JDK9 using a new jigsaw build, trying to load from jrt-fs.jar. I get 
this: Warning: Cannot use jsr199 Javac from jrt-fs.jar".

Does this mean you can only use the JSR199 as provided by 
ToolProvider.getSystemJavaCompiler() of the current process in JDK9?

Keimpe Bronkhorst

More information about the jigsaw-dev mailing list