The javac documentation at http://docs.oracle.com/javase/8/docs/technotes/tools/windows/javac.html
lists older versions but does not list 1.8 or 8.
Also for the -target part, it says:
"If the -source option is not specified, then the value of the -target option is 1.7"
This should probably be 1.8 now.
Finally, example 5 explains how to cross-compile for an older version. JDK 7 used JDK 6 for its example, so JDK 8 should probably use JDK 7.
lists older versions but does not list 1.8 or 8.
Also for the -target part, it says:
"If the -source option is not specified, then the value of the -target option is 1.7"
This should probably be 1.8 now.
Finally, example 5 explains how to cross-compile for an older version. JDK 7 used JDK 6 for its example, so JDK 8 should probably use JDK 7.