test java opts