Abstract. Exception Handling in Java and other languages make it possible to raise exception and attaching exception handlers to particular blocks of code. In most research, more people focus on testing of exception handling of programs, Alexandre L. Martins [1] force the execution of exceptional path to improve code coverage analysis, Felipe Ebert [2] study exception handling bugs in Java programs. Exception handling is important to guarantee program quality. However, several studies compare the exception handling result of different Java Virtual Machine(JVM). We focus on studying the exception handling in different Java virtual machine, and develop a tool to automatically insert exception code to test the consistency of Java virtual machine exception handling.