Today with eclipse suddenly the following error occurred in the console, there is no way to run the program:
[Plain]View Plaincopyprint?
- 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=15238, tid=140306591237888
- Fatal Error:invalid layout of preloaded class
- JRE VERSION:7.0_07-B10
- Java Vm:java HotSpot (TM) 64-bit Server VM (23.3-b01 mixed Mode LINUX-AMD64 compressed OPS)
- Failed to write core dump. Core dumps has been disabled. To enable core dumping, try Ulimit-c Unlimited "before starting Java again
- An error report file with more information is saved as:
- /home/till/workspace/encrypt/hs_err_pid15238.log
- If you would as to submit a bug report, please visit:
- http://bugreport.sun.com/bugreport/crash.jsp
To search online, the solution is:
right ----Runas---Android application problem solved, but not for an unknown reason.
Note: thanks to DT Prince to provide additional solutions:
- Project->properties->run/debug Settings;
- Select the class and select "Edit";
- Open "Classpath", remove Android Lib from "Bootstrap Entries";
- The app runs again.
Android JDBC Database connection error Solution