now takes java options as a hash