adding java custom options