spawn new java process to run compile test cases