Add java runtime settings.