Dave Pritchard - 2014-04-26

I am also encountering this problem. (Running jar through java 8 and I've set up tools.jar correctly.) Note that in my "Console" it says

"javacTask: target release 1.7 conflicts with default source release 1.8"

I think this is referring to the compiler API (com.sun.source.util.JavacTask) but there doesn't seem to be any exposed option in the UI to change the target release version or add other arbitrary compiler options :(

See also http://stackoverflow.com/questions/23007023/drjava-cannot-run-code-using-jdk8-0

and

https://sourceforge.net/p/drjava/bugs/946/

 
Last edit: Dave Pritchard 2014-04-26