JWP produces Java core dump