adding default java option

Sidekick: @lars2893