pass rest of args to java