Export $JAVA_HOME and $JRE_HOME for programs that need it.
Warn when MySQL is not using strict mode.