直接运行会报这个错误 A fatal error has been detected by the Java Runtime Environment: Internal Error (classFileParser.cpp:3161), pid=4884, tid=1732 Error: ShouldNotReachHere() JRE version: 6.0_22-b04 Java VM: Java HotSpot(TM) Client VM (17.1-b03 mixed mode windows-x86 ) 解决办法如下: 右击有main方法的类 ===> Run as ===> Run Configurations ===&