adding a java option