added options for java applications