Java code to execute eXpedite