One more attempt to add java option.