1、
在Eclipse中创建的Android工程。
里面有一个类 想直接在Windows下测试这个类的功能是否OK ==> 使用 "Run As --> Java Application"的方式,在使用String的地方会报错:
“
Invalid layout of java.lang.String at value
## A fatal error has been detected by the Java Runtime Environment:## Internal Error (javaClasses.cpp:129), pid=3152, tid=4964# fatal error: Invalid layout of preloaded class## JRE version: 7.0_25-b17# Java VM: Java HotSpot(TM) Client VM (23.25-b01 mixed mode windows-x86 )# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows## An error report file with more information is saved as:# F:\ZC_Code_E\workspace_j2se__Android\ProcessBuilderZ\hs_err_pid3152.log## If you would like to submit a bug report, please visit:# http://bugreport.sun.com/bugreport/crash.jsp#”