added serial gc to java commands