See commit c233f3e.
Sometimes the output of ToolProvider.getSystemJavaCompiler() is null but the reason is unclear to me.
My system:
$ uname -a
Linux BBK-705 3.13.0-35-generic #62-Ubuntu SMP Fri Aug 15 01:58:01 UTC 2014 i686 i686 i686 GNU/Linux
$ javac -version
javac 1.7.0_65
$ echo $CLASSPATH
/opt/lib/rsyntaxtextarea.jar