Toying around with executing processes in java