Java OPTS and Limit support

Hi,

I've added support for setting Java OPTS and the hard/soft ulimits. Thanks

  fintan